Beispiel #1
0
  private void informVertices() {
    if (isSubgraph) superGraph.informVertices();

    for (VertexType v : this) {
      v.informNewSubgraph();
    }
  }
Beispiel #2
0
 /**
  * Sets the graph as a subgraph.
  *
  * @param b
  */
 public void registerSubgraph(BaseGraph<VertexType, EdgeType> superGraph) {
   isSubgraph = true;
   this.superGraph = superGraph;
   superGraph.informVertices();
 }