|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAgent
CoPS.agents.CoPSAgent
CoPS.agents.CoPSProblemSolver
CoPS.CheckUpExample.ReceptionistAgent
A class extending CoPSProblemSolver, which implements a problem solver in our Checkup example application.
Constructor Summary | |
ReceptionistAgent()
|
Method Summary | |
protected boolean |
deceideWhetherToMakeProposal(ACLMessage request)
This method is used to decide whether the agent should make a proposal or not. |
protected Codec[] |
initializeLanguages()
This method initializes the agent's languages. |
protected Ontology[] |
initializeOntologies()
Method for setting the ontologies this agent knows of. |
protected java.lang.String |
makeProposal(ACLMessage request)
This method is not an example of how this parcing ought to be done. |
ACLMessage |
performAction(ACLMessage request)
The method that is called when the agent has received a request for performing an action from the TeamSpaceAgent. |
ServiceDescription |
setServiceDescription()
Method overridden from the class CoPSAgent. |
Methods inherited from class CoPS.agents.CoPSProblemSolver |
getCurrentRequest, getLanguages, getPartOfTeam, knownLanguage, knownOntology, setCurrentRequest, setPartOfTeam, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReceptionistAgent()
Method Detail |
public ServiceDescription setServiceDescription()
setServiceDescription
in class CoPSAgent
protected java.lang.String makeProposal(ACLMessage request)
makeProposal
in class CoPSProblemSolver
request
- The call-for-proposal message received from CheckUpTaskResponsible.
protected boolean deceideWhetherToMakeProposal(ACLMessage request)
deceideWhetherToMakeProposal
in class CoPSProblemSolver
request
- The call-for-proposal message.
protected Codec[] initializeLanguages()
initializeLanguages
in class CoPSProblemSolver
protected Ontology[] initializeOntologies()
initializeOntologies
in class CoPSProblemSolver
public ACLMessage performAction(ACLMessage request)
performAction
in class CoPSProblemSolver
request
- The request message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |