/** * Evaluates a logical predicate. * * @param goalState The object to test for predicate membership. * * @return <tt>true</tt> if the object is a member of the predicate, <tt>false</tt> otherwise. */ public boolean evaluate(GoalState goalState) { return goalState.isGoal(); } }
/** * Evaluates a logical predicate. * * @param goalState The object to test for predicate membership. * * @return <tt>true</tt> if the object is a member of the predicate, <tt>false</tt> otherwise. */ public boolean evaluate(GoalState goalState) { return goalState.isGoal(); } }