aboutsummaryrefslogtreecommitdiff
path: root/src/uk/ac/ox/cs/pagoda/endomorph
diff options
context:
space:
mode:
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/endomorph')
-rw-r--r--src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java b/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java
index 4022c1d..73a27bf 100644
--- a/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java
+++ b/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java
@@ -94,14 +94,14 @@ public class OpenEndPlan implements CheckPlan {
94 94
95 private boolean redundant(Clique clique) { 95 private boolean redundant(Clique clique) {
96 for (NodeTuple nodeTuple: clique.getNodeTuples()) 96 for (NodeTuple nodeTuple: clique.getNodeTuples())
97 if (!passedAnswers.contains(AnswerTuple.getInstance(nodeTuple.getAnswerTuple(), m_answerArity))) 97 if(!passedAnswers.contains(AnswerTuple.create(nodeTuple.getAnswerTuple(), m_answerArity)))
98 return false; 98 return false;
99 return true; 99 return true;
100 } 100 }
101 101
102 private void addProjections(Clique clique) { 102 private void addProjections(Clique clique) {
103 for (NodeTuple nodeTuple: clique.getNodeTuples()) 103 for (NodeTuple nodeTuple: clique.getNodeTuples())
104 passedAnswers.add(AnswerTuple.getInstance(nodeTuple.getAnswerTuple(), m_answerArity)); 104 passedAnswers.add(AnswerTuple.create(nodeTuple.getAnswerTuple(), m_answerArity));
105 } 105 }
106 106
107 private void setMarkCascadelyValidated(Clique clique) { 107 private void setMarkCascadelyValidated(Clique clique) {