kaos.autonomy.cost
Class CostComputation

java.lang.Object
  extended by kaos.autonomy.cost.CostComputation

public class CostComputation
extends java.lang.Object


Constructor Summary
CostComputation()
           
 
Method Summary
 double[] computeValue(FailedActionContext tempContext, Node tempNode, java.lang.String[] parentStateList, double tempCost)
          make adjustable autonomy decision
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CostComputation

public CostComputation()
Method Detail

computeValue

public double[] computeValue(FailedActionContext tempContext,
                             Node tempNode,
                             java.lang.String[] parentStateList,
                             double tempCost)
make adjustable autonomy decision

Parameters:
tempContext - Current context of failed action
parentStateList - List of parent states of a netica node
tempCost - Cost of resource or service
Returns:
List of cost for each parent state