def testPlannerDefault(problem,problemName,maxTime,plannerType,**plannerParams): global numTrials print "Planning with",plannerType,'on problem',problemName planner = problem.planner(plannerType,**plannerParams) folder = os.path.join("data",problemName) mkdir_p(folder) test.testPlanner(planner,numTrials,maxTime,os.path.join(folder,allplanners.filename[plannerType]+'.csv'))
def testPlannerDefault(problem,problemName,maxTime,plannerType,**plannerParams): #checker = EpsilonEdgeChecker(problem.configurationSpace,0.01) print "Planning with",plannerType,'on problem',problemName planner = problem.planner(plannerType,**plannerParams) folder = os.path.join("data",problemName) mkdir_p(folder) test.testPlanner(planner,10,maxTime,os.path.join(folder,allplanners.filename[plannerType]+'.csv'))
def testPlannerDefault(problem, problemName, maxTime, plannerType, **plannerParams): global numTrials print "Planning with", plannerType, 'on problem', problemName planner = problem.planner(plannerType, **plannerParams) folder = os.path.join("data", problemName) mkdir_p(folder) test.testPlanner( planner, numTrials, maxTime, os.path.join(folder, allplanners.filename[plannerType] + '.csv'))