SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.graph

Interface HyperEdge<V>

• Method Summary

All Methods
Modifier and Type Method and Description
Set<V> neighbors(V vertex)
Gets the set of neighboring vertices connected to vertex.
Set<V> vertices()
Gets the set of vertices associated with the edge.
• Method Detail

• vertices

Set<V> vertices()
Gets the set of vertices associated with the edge.
Returns:
the set of vertices
• neighbors

Set<V> neighbors(V vertex)
Gets the set of neighboring vertices connected to vertex.
Parameters:
vertex - a vertex
Returns:
the set of vertices connected to vertex