evaluate

abstract fun evaluate(blackboard: Blackboard): ConditionDetermination

Evaluate this formula using a condition determiner using three-valued logic.

This allows the expression to work with com.embabel.plan.common.condition.WorldStateDeterminer.determineCondition without requiring the full com.embabel.plan.common.condition.ConditionWorldState.

Returns:

  • TRUE if the formula evaluates to true given known conditions

  • FALSE if the formula evaluates to false given known conditions

  • UNKNOWN if the formula cannot be determined (contains unknown conditions)

Parameters

blackboard

blackboard to use for condition evaluation