com.cra.bnet.engine
Interface BeliefCondition

All Known Implementing Classes:
ThresholdBeliefCondition

public interface BeliefCondition

Tests a belief event using some condition. Instances of this interface can be used with BeliefAlert.


Method Summary
 boolean accept(BeliefEvent event)
          Returns true if the specified belief event meets this condition.
 Node getNode()
          Returns the node that this condition operates on.
 

Method Detail

accept

public boolean accept(BeliefEvent event)
Returns true if the specified belief event meets this condition.

Parameters:
event - belief event to test.
Returns:
true if the specified belief event meets this condition.

getNode

public Node getNode()
Returns the node that this condition operates on.

Returns:
the node that this condition operates on.