public abstract class AbstractStateSpacePlanner extends AbstractPlanner implements StateSpacePlanner
Planner.Name
DEFAULT_ANYTIME, DEFAULT_HEURISTIC, DEFAULT_STATE_SPACE_PLANNER, DEFAULT_WEIGHT, HEURISTIC, WEIGHT
DEFAULT_PLANNER, DEFAULT_STATISTICS, DEFAULT_TIMEOUT, DEFAULT_TRACE_LEVEL, DOMAIN, LOGGER, PLANNER, PROBLEM, STATISTICS, TIMEOUT, TRACE_LEVEL
Constructor and Description |
---|
AbstractStateSpacePlanner()
Creates a new planner.
|
AbstractStateSpacePlanner(boolean statisticState,
int traceLevel)
Creates a new planner.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<StateSpaceStrategy> |
getStateSpaceStrategies()
Returns the state space strategies used in the planner.
|
boolean |
isAnytime()
Is planner anytime or not.
|
void |
setAnytime(boolean anytimeState)
Set the anytime state value.
|
getLogger, getStatistics, getTraceLevel, isSaveState, setSaveState, setTraceLevel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultArguments, getLogger
getStatistics, getTraceLevel, isSaveState, search, setSaveState, setTraceLevel
public AbstractStateSpacePlanner()
public AbstractStateSpacePlanner(boolean statisticState, int traceLevel)
statisticState
- the statistics generation value.traceLevel
- the trace level of the planner.public java.util.List<StateSpaceStrategy> getStateSpaceStrategies()
getStateSpaceStrategies
in interface StateSpacePlanner
public void setAnytime(boolean anytimeState)
setAnytime
in interface StateSpacePlanner
anytimeState
- the anytime state valuepublic boolean isAnytime()
isAnytime
in interface StateSpacePlanner