dk.deepthought.sidious.ruleengine
Interface RuleEngine

All Known Implementing Classes:
RuleEngineImpl

public interface RuleEngine


Method Summary
 double evaluate(SuperLinkID requesterID, State current, State next, Step step)
          This method evaluates the rules associated with the given plan requester.
 java.util.Collection<Goal> extractGoals(SuperLinkID requesterID)
          This method extracts the goals of the specified PlanRequester.
 

Method Detail

extractGoals

java.util.Collection<Goal> extractGoals(SuperLinkID requesterID)
This method extracts the goals of the specified PlanRequester.

Parameters:
requesterID - the id of the plan requester
Returns:
the extracted goals

evaluate

double evaluate(SuperLinkID requesterID,
                State current,
                State next,
                Step step)
This method evaluates the rules associated with the given plan requester.

The calculation is based upon the state change from current to next.

Parameters:
requesterID - the ID of the plan requester
current - the current state
next - the next state
step - the step
Returns:
the combined evaluation.


Copyright © Deepthought Development - All Rights Reserved.