Interface VertexChooser<VertexType extends GraphVertex<VertexType>>


  • public interface VertexChooser<VertexType extends GraphVertex<VertexType>>
    VertexChooser specifies an interface for objects that determine whether or not a vertex is chosen for some purpose. For example, in the DepthFirstSearch algorithm a VertexChooser may be specified to select which vertices should be considered by the search.
    • Method Detail

      • isChosen

        boolean isChosen​(VertexType v)
        Determine whether the given GraphVertex should be chosen.