Class Vertex

java.lang.Object
com.thomas.graphs.Vertex

public class Vertex extends Object
A simple implementation of A vertex clasas
  • Field Details

    • name

      public final String name
      The name of the vertex
  • Constructor Details

    • Vertex

      public Vertex(String name)
      Creates a new vertex
      Parameters:
      name - The name of the vertex
  • Method Details