|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--PkgAgentSystem.Experiences.Statement
A statement from one agent on another one that a certain characteristic has a certain value. The value is expressed as a float while the characteirstic is a case-independent string. Used for storing and exchanging experiences.
Experiences
, Serialized FormConstructor Summary | |
Statement(AgentIdentity source,
AgentIdentity onAgent,
String characteristic,
double value)
Creates a new statement. |
Method Summary | |
boolean |
equals(Object obj)
Compares this statement to another object. |
String |
getCharacteristic()
Returns the characteristic of this statement. |
AgentIdentity |
getOnAgentID()
Returns the identity of the agent posessing the characteristic. |
AgentIdentity |
getSourceAgentID()
Returns the identity of the agent telling this statement. |
double |
getValue()
Returns the value of the characteristic of this statement. |
String |
toString()
Returns a string representation of this statement. |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Statement(AgentIdentity source, AgentIdentity onAgent, String characteristic, double value)
source
- the identity of the agent telling the statement. Must be provided.onAgent
- the identity of the agent which has this characteristic. Must be provided.characteristic
- the characterictic of the destination agent. Must be provided.value
- the degree to which this characteristic is presentMethod Detail |
public AgentIdentity getSourceAgentID()
public AgentIdentity getOnAgentID()
public String getCharacteristic()
public double getValue()
public String toString()
toString
in class Object
public boolean equals(Object obj)
equals
in class Object
|
Agent System POND 1.2 (28.2.2002) | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |