Example #1
0
  public GSS create(Item item, GSS cu, Node cn, int ci) {
    Node w = cn;
    GSS v = makeGSS(item, ci);

    if (v.addEdge(w, cu)) {
      if (toPop.containsKey(v)) {
        for (Node z : toPop.get(v)) {
          Node x = getNodeP(item, w, z);
          add(item, cu, z.getRightExtent(), x);
        }
      }
    }
    return v;
  }