ix.test.xml
Class BlockStackingTest
java.lang.Object
ix.iplan.PlanTest
ix.test.xml.BlockStackingTest
- All Implemented Interfaces:
- java.io.Serializable
public class BlockStackingTest
- extends PlanTest
Describes a block-stacking plan test.
- See Also:
- Serialized Form
Field Summary |
(package private) java.lang.String |
problem
|
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 |
problem
java.lang.String problem
BlockStackingTest
public BlockStackingTest()
getProblem
public java.lang.String getProblem()
setProblem
public void setProblem(java.lang.String problem)
setTask
public void setTask(java.lang.String task)
- Overrides:
setTask
in class PlanTest
setInitialPlan
public void setInitialPlan(java.lang.String initialPlan)
- Overrides:
setInitialPlan
in class PlanTest
testDescription
public java.lang.String testDescription()
- Description copied from class:
PlanTest
- Returns a short textual description of this test.
It should include the domain name and a description
of the task or problem. Examples:
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()
.
- Overrides:
testDescription
in class PlanTest
taskDescription
public java.lang.String taskDescription()
- Description copied from class:
PlanTest
- Returns a short textual description of the task or problem
that this test gives to the planner.
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".
- Overrides:
taskDescription
in class PlanTest
- See Also:
PlanTest.testDescription()
makeTestRunner
public AutoTester.TestRunner makeTestRunner(AutoTester auto)
- Description copied from class:
PlanTest
- Factory method that returns a new TestRunner that should
be used to run this test. This allows PlanTest subclasses
to vary the way in which tests are processed.
- Overrides:
makeTestRunner
in class PlanTest