|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A
- the class for atomic elements in a statepublic interface Goal<A>
A goal is usually defined as a set of Atoms in planning. Implicitly defined is the set of goal states which are exactly those WorldStates in which the Goal is satisfied.
Method Summary | |
---|---|
java.util.Set<A> |
getNegativeGoals()
This function returns the set of negative goal conditions that define this Goal. |
java.util.Set<A> |
getPositiveGoals()
This function returns the set of positive goal conditions that define this Goal. |
boolean |
isRelevant(Action<A> action)
This function tests whether the given Action is relevant for this Goal. |
Goal<A> |
regress(Action<A> action)
This function computes a new Goal that is the result of regressing this Goal through the given Action. |
boolean |
satisfiedIn(WorldState<A> state)
This function tests whether this Goal is achieved in the given state. |
Method Detail |
---|
java.util.Set<A> getPositiveGoals()
This function returns the set of positive goal conditions that define this Goal.
java.util.Set<A> getNegativeGoals()
This function returns the set of negative goal conditions that define this Goal.
boolean isRelevant(Action<A> action)
This function tests whether the given Action is relevant for this Goal.
action
- the Action to be tested for relevance
Goal<A> regress(Action<A> action)
This function computes a new Goal that is the result of regressing this Goal through the given Action. The given Action should be relevant.
action
- the (relevant) Action used for regression in this Goal
boolean satisfiedIn(WorldState<A> state)
This function tests whether this Goal is achieved in the given state.
state
- the WorldState in which this Goal may be satisfied
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |