Package org.jzy3d.maths.graphs
Class DefaultGraph<V,E>
- java.lang.Object
-
- org.jzy3d.maths.graphs.DefaultGraph<V,E>
-
-
Constructor Summary
Constructors Constructor Description DefaultGraph()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEdge(E edge, V v1, V v2)voidaddVertex(V vertex)List<E>getEdges()VgetEdgeStartVertex(E e)VgetEdgeStopVertex(E e)VgetRandomVertex()VgetVertex(int i)List<V>getVertices()
-
-
-
Method Detail
-
getEdgeStartVertex
public V getEdgeStartVertex(E e)
- Specified by:
getEdgeStartVertexin interfaceIGraph<V,E>
-
getEdgeStopVertex
public V getEdgeStopVertex(E e)
- Specified by:
getEdgeStopVertexin interfaceIGraph<V,E>
-
getRandomVertex
public V getRandomVertex()
- Specified by:
getRandomVertexin interfaceIGraph<V,E>
-
-