|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectix.icore.IXAgent
ix.ip2.Ip2
ix.iplan.IPlan
ix.iplan.PlannerBase
ix.iplan.Slip
public class Slip
Semi-linear planner.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class ix.ip2.Ip2 |
---|
Ip2.AddExtensionsHandler, Ip2.AddHandlersHandler |
Field Summary | |
---|---|
static Keyword |
K_ALL
|
static Keyword |
K_NONE
|
static Symbol |
S_ACHIEVABLE_CONDS
|
static Symbol |
S_USE_FOR_EFFECTS
|
Fields inherited from class ix.ip2.Ip2 |
---|
activityViewer, agentTypeName, annotationViewer, controller, domain, frame, issueViewer, logoImage, logoLine1, logoLine2, modelManager, optionManager, resetHooks, showOptions, stateViewer |
Fields inherited from class ix.icore.IXAgent |
---|
contactManager, displayName, eventLogger, exitHooks, initialDisplayName, ipcName, ipcStrategyName, iSimTimer, knownAgents, nameListeners, startupDate, startupHooks, symbolName, textFrame, thisAgent |
Fields inherited from interface ix.iplan.ServiceSymbols |
---|
S_INPUT_OBJECTS, S_INPUTS, S_NAME_MAP, S_OUTPUT_OBJECTS, S_OUTPUTS, S_OWL_S_PROCESS, S_TYPE |
Constructor Summary | |
---|---|
Slip(boolean standAlone)
|
Method Summary | |
---|---|
protected void |
addHandlers()
Install any built-in issue and activity handlers. |
PlanStats |
getStatistics()
Returns statistics gathered by the most recent Planner.plan()
or Planner.replan() . |
static void |
main(java.lang.String[] argv)
Standalone main program. |
void |
plan()
Finds a plan that is a completion of this planner's current plan and makes it the new current plan. |
protected void |
processCommandLineArguments()
Command-line argument processing for arguments used by all versions of I-P2. |
void |
replan()
Finds the next in a series of plans that are completions of the plan that was current when Planner.plan() was
most recently called. |
void |
reset()
Called to restore the initial state. |
void |
setDomain(Domain dom)
Sets this planner's domain. |
void |
setStepLimit(int limit)
|
void |
startup()
Completes setup and initialization. |
Methods inherited from class ix.iplan.PlannerBase |
---|
completeStartup, handleInput, initOptions, isStandAlone, makeInstance, outputOwlSPlan, outputPlan, outputPlanPSGraphData, startServer |
Methods inherited from class ix.iplan.IPlan |
---|
makeDefaultPlanner, makeIp2Frame, makeModelManager |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ix.iplan.Planner |
---|
getPlan, loadPlan |
Field Detail |
---|
public static final Keyword K_ALL
public static final Keyword K_NONE
public static final Symbol S_ACHIEVABLE_CONDS
public static final Symbol S_USE_FOR_EFFECTS
Constructor Detail |
---|
public Slip(boolean standAlone)
Method Detail |
---|
public static void main(java.lang.String[] argv)
public void startup()
startup
in class PlannerBase
protected void processCommandLineArguments()
Ip2
processCommandLineArguments
in class Ip2
IFUtil.adjustLookAndFeel()
,
IPC.makeCommunicationStrategy(String methodName)
,
ContactManager.processCommandLineArguments()
,
Debug.on
,
Parameters
public void reset()
reset
in class Ip2
public PlanStats getStatistics()
Planner
Planner.plan()
or Planner.replan()
.
getStatistics
in interface Planner
getStatistics
in class PlannerBase
public void setStepLimit(int limit)
public void setDomain(Domain dom)
Planner
setDomain
in interface Planner
setDomain
in class IPlan
protected void addHandlers()
addHandlers
in class PlannerBase
public void plan()
Planner
A successful call to plan() leaves this planner in a
state in which Planner.replan()
can be called.
plan
in interface Planner
plan
in class PlannerBase
public void replan()
Planner
Planner.plan()
was
most recently called. That completion then becomes the
new current plan. You can think of this as reconsidering
some choice made when producing earlier plans in the sequence
and making different decision at that point. However, it
is not guaranteed that the plan found in this way will
be interestingly different from all of the earlier plans
in the sequence.
The replan() method should not be called if plan() has not been called or if this planner has thrown an exception.
A successful call to replan() leaves this planner in a
state in which Planner.replan()
can be called again.
plan() may be called instead, but this will begin a new
sequence of plans based on this planner's now current plan,
rather than on the plan that was the base for the previous
sequence.
replan
in interface Planner
replan
in class PlannerBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |