Class UndirectedEdge<T extends Node>

  • Type Parameters:
    T - The type of the nodes this edge connects

    public class UndirectedEdge<T extends Node>
    extends Edge<T>
    Instances of this class represent undirected edges.
    Author:
    Matthias Thimm
    • Constructor Detail

      • UndirectedEdge

        public UndirectedEdge​(T nodeA,
                              T nodeB)
        Creates a new undirected edge for the given nodes.
        Parameters:
        nodeA - some node.
        nodeB - some node.