78 |
TripleSetObs obs = new TripleSetObs() { |
TripleSetObs obs = new TripleSetObs() { |
79 |
public void chg() { rereadIndex(); } |
public void chg() { rereadIndex(); } |
80 |
public void chgTriple(int dir, Object o1, Object o2, Object o3) { |
public void chgTriple(int dir, Object o1, Object o2, Object o3) { |
81 |
if(dbg) pa("SNC TRINDEX: Single triple chgd!!!!"); |
if(dbg) pa("SNC TRINDEX: Single triple chgd!!!! "); |
82 |
trIndex.set(dir, o1, o3); |
Object content = func.f(fen.constgraph, o1); |
83 |
|
if(dbg) pa("SNC TRINDEX: "+o1+" "+content); |
84 |
|
trIndex.set(dir, o1, content); |
85 |
} |
} |
86 |
}; |
}; |
87 |
trIndex.clear(); |
trIndex.clear(); |
88 |
for(Iterator i = fen.constgraph.findN_X1A_Iter(FF.content, obs); i.hasNext();) { |
for(Iterator i = fen.constgraph.findN_X1A_Iter(FF.content, obs); i.hasNext();) { |
89 |
Object node = i.next(); |
Object node = i.next(); |
90 |
Object content = fen.constgraph.find1_11X(node, FF.content); |
Object content = func.f(fen.constgraph, node); |
91 |
|
if(dbg) pa("SNC content: "+node+" "+content); |
92 |
trIndex.set(1, node, content); |
trIndex.set(1, node, content); |
93 |
} |
} |
94 |
} |
} |