kaos.autonomy.situation
Class FailureContextReasoner

java.lang.Object
  extended by kaos.autonomy.situation.FailureContextReasoner

public class FailureContextReasoner
extends java.lang.Object


Constructor Summary
FailureContextReasoner(Kaa agentKaa)
           
 
Method Summary
 FailedActionContext getContext(ActionInstanceDescription aid, java.lang.String policyType)
          compute the curren context for a given failed action
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FailureContextReasoner

public FailureContextReasoner(Kaa agentKaa)
Method Detail

getContext

public FailedActionContext getContext(ActionInstanceDescription aid,
                                      java.lang.String policyType)
                               throws java.lang.Exception
compute the curren context for a given failed action

Parameters:
aid - Current action instance description
Returns:
Failure context
Throws:
java.lang.Exception