public interface PathGoalTester<T> extends GoalTester<T>
| Modifier and Type | Method and Description |
|---|---|
boolean |
isGoal(java.util.List<T> node)
Check if the current node is a goal for the problem.
|
boolean isGoal(java.util.List<T> node)
node - The node to check.true if it is a goal, false otherwise.