projects
/
sbp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
major overhaul to institute optimal GSS sharing
[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
4ef2013
..
222a168
100644
(file)
--- a/
src/edu/berkeley/sbp/Reduction.java
+++ b/
src/edu/berkeley/sbp/Reduction.java
@@
-41,7
+41,8
@@
final class Reduction implements Comparable<Reduction> {
}
public void perform() {
}
public void perform() {
- Result.newResult(forest, pred, reduction, phase);
+ if (reduction==null) return;
+ phase.newNodeFromReduction(forest, reduction, pred);
}
public GSS.Phase predPhase() { return pred.phase(); }
public Pos reduction() { return reduction; }
}
public GSS.Phase predPhase() { return pred.phase(); }
public Pos reduction() { return reduction; }