projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mostly inert shuffling around in Sequence
[sbp.git]
/
src
/
edu
/
berkeley
/
sbp
/
Reduction.java
diff --git
a/src/edu/berkeley/sbp/Reduction.java
b/src/edu/berkeley/sbp/Reduction.java
index
5eb3f63
..
222a168
100644
(file)
--- a/
src/edu/berkeley/sbp/Reduction.java
+++ b/
src/edu/berkeley/sbp/Reduction.java
@@
-40,7
+40,10
@@
final class Reduction implements Comparable<Reduction> {
return 1;
}
return 1;
}
- public void perform() { new Result(forest, pred, reduction, phase); }
+ public void perform() {
+ if (reduction==null) return;
+ phase.newNodeFromReduction(forest, reduction, pred);
+ }
public GSS.Phase predPhase() { return pred.phase(); }
public Pos reduction() { return reduction; }
public GSS.Phase targetPhase() { return phase; }
public GSS.Phase predPhase() { return pred.phase(); }
public Pos reduction() { return reduction; }
public GSS.Phase targetPhase() { return phase; }