|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAgent
CoPS.agents.CoPSAgent
CoPS.agents.CoPSTaskResponsible
CoPS.CheckUpExample.CheckUpTaskResponsible
A class extending CoPSTaskResponsible, which implements a task responsible in our Checkup example application.
Constructor Summary | |
CheckUpTaskResponsible()
|
Method Summary | |
ACLMessage |
composePSM(ACLMessage request)
Method returning an ACLMessage describing the solution of a psm |
java.lang.String |
getFinalPSM()
Method returning the last PSM to compose |
protected Ontology |
getOntology()
Method returning the ontology. |
protected Ontology |
intializeOntology()
Method returning an instance of the ontology known by this agent. |
boolean |
problemSolved()
This is just a dummy method always returning true. |
boolean |
reviewProblem(java.lang.String task)
This is just a dummy method always returning true. |
ServiceDescription |
setServiceDescription()
Method overridden from the class CoPSAgent. |
Methods inherited from class CoPS.agents.CoPSTaskResponsible |
getDecomposer, getFileWriter, getProblemSolvers, getReplyByTime, getRequest, getResponse, getSolution, getSolutionLanguage, getTask, getTeamSpaceAgent, getTMST, lookupProblemSolvers, makeCfps, makeInvitations, mapAgentToExecutor, setReplyByTime, setRequest, setResponse, setSolution, setTask, setTMST, setup |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CheckUpTaskResponsible()
Method Detail |
protected Ontology getOntology()
getOntology
in class CoPSTaskResponsible
public boolean reviewProblem(java.lang.String task)
reviewProblem
in class CoPSTaskResponsible
public boolean problemSolved()
problemSolved
in class CoPSTaskResponsible
protected Ontology intializeOntology()
intializeOntology
in class CoPSTaskResponsible
public ServiceDescription setServiceDescription()
setServiceDescription
in class CoPSAgent
public java.lang.String getFinalPSM()
getFinalPSM
in class CoPSTaskResponsible
public ACLMessage composePSM(ACLMessage request)
composePSM
in class CoPSTaskResponsible
request
- - The requested psm
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |