Interface PathGoalTester<N,​A>

  • All Known Subinterfaces:
    NodeGoalTester<N,​A>

    public interface PathGoalTester<N,​A>
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isGoal​(org.api4.java.datastructure.graph.IPath<N,​A> path)
      Check if the current node is a goal for the problem.
    • Method Detail

      • isGoal

        boolean isGoal​(org.api4.java.datastructure.graph.IPath<N,​A> path)
        Check if the current node is a goal for the problem.
        Parameters:
        path - The path to check.
        Returns:
        true if it is a goal, false otherwise.