view src/main/java/jungle/core/graph/Graph.java @ 4:761d04aecfcb

added Graph API and some implementation
author shoshi <shoshi@cr.ie.u-ryukyu.ac.jp>
date Tue, 19 Jun 2012 23:38:31 +0900
parents
children abed5bd92fcb
line wrap: on
line source

package jungle.core.graph;

import java.util.Iterator;

public interface Graph
{
	public Vertex getVertex(String _id);
	public Vertex createVertex(String _id);
	public Vertex createVertex();
	
	public boolean isSame(Graph _g);
	public Iterator<Vertex> vertexes();
}