Package dev.nm.graph
Interface HyperEdge<V>
-
- Type Parameters:
V
- vertex type
- All Known Subinterfaces:
Arc<V>
,Edge<V>
,UndirectedEdge<V>
,WeightedArc<V>
,WeightedEdge<V>
- All Known Implementing Classes:
SimpleArc
,SimpleEdge
public interface HyperEdge<V>
A hyper-edge connects a set of vertices of any size.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<V>
neighbors(V vertex)
Gets the set of neighboring vertices connected tovertex
.Set<V>
vertices()
Gets the set of vertices associated with the edge.
-