ix.iplan
Class PlanTestDefaults
java.lang.Object
  
ix.iplan.PlanTest
      
ix.iplan.PlanTestDefaults
- All Implemented Interfaces: 
 - java.io.Serializable
 
public class PlanTestDefaults
- extends PlanTest
 
Specifies default values for PlanTests.  If an instance of this
 class appears in a list of PlanTests given to an AutoTester,
 the AutoTester will use this instance to supply default values
 to later tests in the same list.  That happens via the
 TestRunner returned by the makeTestRunner(AutoTester)
 method.
- See Also:
 - Serialized Form
 
 
 
 
 
| Methods inherited from class ix.iplan.PlanTest | 
getDomain, getInitialPlan, getIsExhaustive, getPlans, getRandomSimulations, getStepLimit, getTask, setDomain, setInitialPlan, setIsExhaustive, setPlans, setRandomSimulations, setStepLimit, setTask, taskDescription, toString | 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
PlanTestDefaults
public PlanTestDefaults()
takeDefaults
void takeDefaults(PlanTest defaults)
- Description copied from class: 
PlanTest 
- Takes field values from the specified PlanTest which will
 usually be an instance of 
PlanTestDefaults or of
 ExpandPlanTestGroup.
 Only some fields can be defaulted; currently they are
 PlanTest.domain, PlanTest.initialPlan,
 PlanTest.randomSimulations, PlanTest.stepLimit,
 and PlanTest.isExhaustive.
- Overrides:
 takeDefaults in class PlanTest
 
- Throws:
 java.lang.UnsupportedOperationException - if called.
 
 
makeTestRunner
public AutoTester.TestRunner makeTestRunner(AutoTester auto)
- Returns a TestRunner that tells the AutoTester to use
 this PlanTest for default values.
- Overrides:
 makeTestRunner in class PlanTest
 
- See Also:
 PlanTest.takeDefaults(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