|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectgalatea.glorias.Goal
This class represents an structure to implement the goals that an agent must
perform.
-----
Esta clase representa una estructura para implementar las metas del agente.
| Constructor Summary | |
Goal(java.lang.String uncondHead)
Constructor. |
|
Goal(java.lang.String conclusion,
ListAg conditions)
Constructor. |
|
| Method Summary | |
boolean |
fired(ListAg obs)
This method is used to check agent's observations against the list of required observations to execute a determined goal. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Goal(java.lang.String uncondHead)
uncondHead - String. It's a determined head that will be assigned to the
new list.
public Goal(java.lang.String conclusion,
ListAg conditions)
conclusion - String. It is used as the name of the Goal to be executed by
the agent. conditions - ListAg. It's the list used to store the required conditions to
execute a determined goal (stored at the "conclusion"
parameter). | Method Detail |
public boolean fired(ListAg obs)
obs - ListAg. It's the list of agent observations.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||