|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AgentCapability
Defines the operations to store and access information about a capability an agent offers.
Method Summary | |
---|---|
boolean |
containedInCapability(AgentCapability other)
Determine if this AgentCapability is contained in the other AgentCapability, meaning that all properties of this AgentCapability are present in the other. |
double |
getCost()
Obtain the capability cost. |
java.util.List |
getKeywords()
Obtain a List of String describing keywords to be used in search for this capability. |
java.lang.String |
getName()
Obtain the AgentCapability name. |
double |
getReliability()
Obtain a double specifying the reliability of the capability (double/percentage). |
java.util.List |
getRequestForInfo()
Return Strings describing how to request this capabiity from an agent. |
void |
setCost(double cost)
Set the capability cost |
void |
setKeywords(java.util.List keywords)
Set the keywords used to search for this capability. |
void |
setName(java.lang.String name)
Set the name of this AgentCapability. |
void |
setReliability(double reliability)
Set the reliability of the capability (double/percentage). |
void |
setRequestForInfo(java.util.List requestForInfo)
Set a List of Strings describing how an agent requests another agent to perform the capability. |
Method Detail |
---|
void setName(java.lang.String name)
name
- String containing the name of the AgentCapability.java.lang.String getName()
void setKeywords(java.util.List keywords)
keywords
- List of Strings containing keywords to be used in search for this capability.java.util.List getKeywords()
void setCost(double cost)
cost
- double containing the cost of this capability.double getCost()
void setRequestForInfo(java.util.List requestForInfo)
requestForInfo
- List of String describing how to request this capabiity.java.util.List getRequestForInfo()
void setReliability(double reliability)
reliability
- double specifying the reliability of the capability.double getReliability()
boolean containedInCapability(AgentCapability other)
other
- AgentCapability to compare this AgentCapability with.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |