kaos.autonomy.repository
Interface ActionUtility

All Superinterfaces:
ActionSituationCharacteristic, java.lang.Cloneable, OntInstanceDescription
All Known Implementing Classes:
ActionUtilityImpl

public interface ActionUtility
extends ActionSituationCharacteristic

This interface containes methods allowing to create and investigate a description of an ActionUtility instance. $Revision: 1.2 $


Method Summary
 void addMetric(java.lang.String metricId)
          Add the metrics this utility depends on
 java.util.Vector getMetrics()
          Get the list of metrics this utility depends on
 java.lang.String getUtilityExpression()
          Get Utility Expression
 void setUtilityExpression(java.lang.String myUtilityExpression)
          Set Utility Expression
 
Methods inherited from interface kaos.autonomy.repository.ActionSituationCharacteristic
getDescribedActionClassName, setDescribedActionClassName
 
Methods inherited from interface kaos.core.csi.OntInstanceDescription
addProperty, addProperty, addType, clone, getFirstType, getInstanceOntModel, getName, getNestedProperty, getProperties, getPropertiesMap, getProperty, getTypes, removeProperty, removeType
 

Method Detail

getMetrics

java.util.Vector getMetrics()
Get the list of metrics this utility depends on


getUtilityExpression

java.lang.String getUtilityExpression()
Get Utility Expression


addMetric

void addMetric(java.lang.String metricId)
Add the metrics this utility depends on

Parameters:
metricId - id of the added metric

setUtilityExpression

void setUtilityExpression(java.lang.String myUtilityExpression)
Set Utility Expression

Parameters:
myUtilityExpression - string representing the expression used to calculate the utility