package org.jzy3d.maths.graphs;

import java.util.List;

public interface IGraph {
	public void addVertex(V vertex);
	public void addEdge(E edge, V v1, V v2);

	public V getVertex(int i);
	public V getRandomVertex();
	//public E getEdge(int i);

	public List getVertices();
	public List getEdges();

	public V getEdgeStartVertex(E e);
	public V getEdgeStopVertex(E e);
}

 

Ads help maintain this website.