Package it.unive.lisa.util.datastructures.graph
-
Interface Summary Interface Description Edge<G extends Graph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> An edge of aGraph
.Graph<G extends Graph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> Interface of a generic graph structure.GraphVisitor<G extends Graph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>,V> A visitor of aGraph
.Node<G extends Graph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> A node of aGraph
. -
Class Summary Class Description AdjacencyMatrix<G extends BaseGraph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> AdjacencyMatrix.NodeEdges<G extends BaseGraph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> Utility class for representing the edges tied to a node, split into two sets: ingoing and outgoing.BaseGraph<G extends BaseGraph<G,N,E>,N extends Node<G,N,E>,E extends Edge<G,N,E>> A genericGraph
, backed by anAdjacencyMatrix
.
Note that this class does not defineObject.equals(Object)
norObject.hashCode()
, since we leave the decision to be unique instances to implementers.