kaos.core.csi
Interface AgentCapability

All Superinterfaces:
java.io.Serializable

public interface AgentCapability
extends java.io.Serializable

Defines the operations to store and access information about a capability an agent offers.

Author:
KAoS Team $Revision: 1.3 $

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<java.lang.String> 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<java.lang.String> getRequestForInfo()
          Return Strings describing how to request this capability from an agent.
 void setCost(double cost)
          Set the capability cost
 void setKeywords(java.util.List<java.lang.String> 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<java.lang.String> requestForInfo)
          Set a List of Strings describing how an agent requests another agent to perform the capability.
 

Method Detail

setName

void setName(java.lang.String name)
Set the name of this AgentCapability.

Parameters:
name - String containing the name of the AgentCapability.

getName

java.lang.String getName()
Obtain the AgentCapability name.

Returns:
String containing the name of the AgentCapability.

setKeywords

void setKeywords(java.util.List<java.lang.String> keywords)
Set the keywords used to search for this capability.

Parameters:
keywords - List of Strings containing keywords to be used in search for this capability.

getKeywords

java.util.List<java.lang.String> getKeywords()
Obtain a List of String describing keywords to be used in search for this capability.

Returns:
List containing Strings to describe this capability.

setCost

void setCost(double cost)
Set the capability cost

Parameters:
cost - double containing the cost of this capability.

getCost

double getCost()
Obtain the capability cost.

Returns:
double containing the cost of this capability.

setRequestForInfo

void setRequestForInfo(java.util.List<java.lang.String> requestForInfo)
Set a List of Strings describing how an agent requests another agent to perform the capability.

Parameters:
requestForInfo - List of String describing how to request this capabiity.

getRequestForInfo

java.util.List<java.lang.String> getRequestForInfo()
Return Strings describing how to request this capability from an agent.

Returns:
List containing String to request this capability from an agent.

setReliability

void setReliability(double reliability)
Set the reliability of the capability (double/percentage).

Parameters:
reliability - double specifying the reliability of the capability.

getReliability

double getReliability()
Obtain a double specifying the reliability of the capability (double/percentage).

Returns:
double containing the the reliability of the capability.

containedInCapability

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.

Parameters:
other - AgentCapability to compare this AgentCapability with.
Returns:
boolean indicating if the properties of this AgentCapabilities are present in the other AgentCapability.


Copyright © 2006 IHMC All Rights Reserved.