aminePlatform.agent.amineJade.ppcgAgent
Class PPCGAnswer

java.lang.Object
  extended byjade.core.behaviours.Behaviour
      extended byjade.core.behaviours.SimpleBehaviour
          extended byjade.core.behaviours.CyclicBehaviour
              extended byaminePlatform.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 Class Summary
 
Nested classes inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
 
Field Summary
(package private)  Lexicon lexicon
           
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
PPCGAnswer()
           
 
Method Summary
 void action()
           
 AmineJadeAgent getAnswerAgent()
           
 void setAnswerAgent(PPCGAmineJadeAgent agent)
           
(package private)  java.lang.Object writeASolution(java.util.HashMap aSolution)
           
 
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
 

Field Detail

lexicon

Lexicon lexicon
Constructor Detail

PPCGAnswer

public PPCGAnswer()
Method Detail

action

public void action()

getAnswerAgent

public AmineJadeAgent getAnswerAgent()

setAnswerAgent

public void setAnswerAgent(PPCGAmineJadeAgent agent)

writeASolution

java.lang.Object writeASolution(java.util.HashMap aSolution)