|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectmodelling.Satisfactor
Encapsulates a boolean method and an heuristic. Useful to manage goals within actions.
| Constructor Summary | |
Satisfactor()
|
|
| Method Summary | |
Satisfactor |
and(Satisfactor sel)
Executes the logical fonction and between the current satisfactor and the given one. |
int |
heuristic()
Give an estimated heuristic distance to the goal. |
abstract boolean |
isSatisfying()
Checks whether the current state is satisfaying. |
Satisfactor |
not()
Executes the logical fonction not on the simulator. |
Satisfactor |
or(Satisfactor sel)
Executes the logical fonction or between the current satisfactor and the given one. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Satisfactor()
| Method Detail |
public abstract boolean isSatisfying()
public int heuristic()
public final Satisfactor or(Satisfactor sel)
public final Satisfactor and(Satisfactor sel)
public final Satisfactor not()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||