|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectix.iplan.PlanTest
ix.test.xml.BlockStackingTest
public class BlockStackingTest
Describes a block-stacking plan test.
Field Summary |
---|
Fields inherited from class ix.iplan.PlanTest |
---|
domain, initialPlan, isExhaustive, plans, randomSimulations, stepLimit, task |
Constructor Summary | |
---|---|
BlockStackingTest()
|
Method Summary | |
---|---|
java.lang.String |
getProblem()
|
AutoTester.TestRunner |
makeTestRunner(AutoTester auto)
Factory method that returns a new TestRunner that should be used to run this test. |
void |
setInitialPlan(java.lang.String initialPlan)
|
void |
setProblem(java.lang.String problem)
|
void |
setTask(java.lang.String task)
|
java.lang.String |
taskDescription()
Returns a short textual description of the task or problem that this test gives to the planner. |
java.lang.String |
testDescription()
Returns a short textual description of this test. |
Methods inherited from class ix.iplan.PlanTest |
---|
getDomain, getInitialPlan, getIsExhaustive, getPlans, getRandomSimulations, getStepLimit, getTask, setDomain, setIsExhaustive, setPlans, setRandomSimulations, setStepLimit, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BlockStackingTest()
Method Detail |
---|
public java.lang.String getProblem()
public void setProblem(java.lang.String problem)
public void setTask(java.lang.String task)
setTask
in class PlanTest
public void setInitialPlan(java.lang.String initialPlan)
setInitialPlan
in class PlanTest
public java.lang.String testDescription()
PlanTest
Domain duplicate-effect-test, Task test1 Domain blocks-pure-htn-1, Problem ca,b-abc
The method defined by the PlanTest class calls
PlanTest.getDomain()
and PlanTest.taskDescription()
.
The testDescription() method is called by PlanTest.toString()
.
testDescription
in class PlanTest
public java.lang.String taskDescription()
PlanTest
The method defined by the PlanTest class returns the
result of calling PlanTest.getTask()
, if that is not null,
and otherwise calls PlanTest.getInitialPlan()
. If the
initial-plan string begins with this test's domain name,
those characters are removed from the description, as
are any characters after and including any final ".".
For example, if the test has domain "example"
and initial-plan "example-init-plan-1.xml",
the result will be "-init-plan-1".
taskDescription
in class PlanTest
PlanTest.testDescription()
public AutoTester.TestRunner makeTestRunner(AutoTester auto)
PlanTest
makeTestRunner
in class PlanTest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |