aminePlatform.agent.amineJade.ppcgAgent
Class PPCGAnswer
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.CyclicBehaviour
aminePlatform.agent.amineJade.ppcgAgent.PPCGAnswer
- All Implemented Interfaces:
- java.io.Serializable, jade.util.leap.Serializable
- public class PPCGAnswer
- extends jade.core.behaviours.CyclicBehaviour
Title : PPCGAnswer class
Description : PPCGAnswer is the class that describes how an agent,
which is benefeting from the Prolog engine, can check if it has received a message,
and how it can answer if the ACL received requires a reply by using methods provided
by Prolog Engine. This class is extending Cyclic Behaviour, which means that an agent
is at every moment checking if it has a new message
Copyright : Copyright (c) Adil KABBAJ 2004-2009
- See Also:
- Serialized Form
Nested classes inherited from class jade.core.behaviours.Behaviour |
jade.core.behaviours.Behaviour.RunnableChangedEvent |
Fields inherited from class jade.core.behaviours.Behaviour |
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING |
Methods inherited from class jade.core.behaviours.CyclicBehaviour |
done |
Methods inherited from class jade.core.behaviours.SimpleBehaviour |
reset |
Methods inherited from class jade.core.behaviours.Behaviour |
actionWrapper, block, block, getBehaviourName, getDataStore, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lexicon
Lexicon lexicon
PPCGAnswer
public PPCGAnswer()
action
public void action()
getAnswerAgent
public AmineJadeAgent getAnswerAgent()
setAnswerAgent
public void setAnswerAgent(PPCGAmineJadeAgent agent)
writeASolution
java.lang.Object writeASolution(java.util.HashMap aSolution)