Class TreasureK
java.lang.Object
knowledge.Knowledge
eu.su.mas.dedale.mas.agents.observerAgent.TreasureK
- All Implemented Interfaces:
Serializable
public class TreasureK
extends knowledge.Knowledge
Knowledge component corresponding to the treasure ability.
At each time steps, it contains the agent current resources
- Author:
- hc
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionknowledge.Knowledge
getPublicData
(jade.core.Agent ag) toString()
void
update
(jade.core.Agent ag) void
updateK
(jade.lang.acl.ACLMessage msg)
-
Constructor Details
-
TreasureK
-
-
Method Details
-
update
public void update(jade.core.Agent ag) - Specified by:
update
in classknowledge.Knowledge
-
updateK
public void updateK(jade.lang.acl.ACLMessage msg) - Specified by:
updateK
in classknowledge.Knowledge
-
getPublicData
public knowledge.Knowledge getPublicData(jade.core.Agent ag) - Specified by:
getPublicData
in classknowledge.Knowledge
-
toString
- Specified by:
toString
in classknowledge.Knowledge
-
getAgentName
-
getAgentDiamondValue
-
getAgentGoldVaue
-