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 Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether the given GraphVertex should be chosen.
  • Method Details

    • isChosen

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