comparison src/main/java/jungle/core/graph/Graph.java @ 8:abed5bd92fcb

commit
author shoshi <shoshi@cr.ie.u-ryukyu.ac.jp>
date Tue, 03 Jul 2012 18:59:28 +0900
parents 761d04aecfcb
children
comparison
equal deleted inserted replaced
7:c3c65308a11b 8:abed5bd92fcb
1 package jungle.core.graph; 1 package jungle.core.graph;
2 2
3 import java.util.Iterator; 3 /*
4 4 * multiedge property graph
5 */
5 public interface Graph 6 public interface Graph
6 { 7 {
7 public Vertex getVertex(String _id); 8 public Vertex getVertex(String _id);
8 public Vertex createVertex(String _id); 9 public Vertex createVertex(String _id);
9 public Vertex createVertex(); 10 public Vertex createVertex();
11 public Vertex cloneVertex(Vertex _base);
12 public Vertex cloneVertex(String _id,Vertex _base);
10 13
11 public boolean isSame(Graph _g); 14 public boolean isSameGraph(Graph _g);
12 public Iterator<Vertex> vertexes();
13 } 15 }