diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-20 18:52:47 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-20 18:52:47 +0100 |
| commit | d81b086fe329fa69891eba0a4b1f73e44183620d (patch) | |
| tree | 7c55c80678660cdbd3dae18e94c4baf5b0680e11 /src/uk/ac/ox/cs/pagoda/endomorph/plan | |
| parent | 7a68441a541b12b22587fb53072193e1130049ff (diff) | |
| download | ACQuA-d81b086fe329fa69891eba0a4b1f73e44183620d.tar.gz ACQuA-d81b086fe329fa69891eba0a4b1f73e44183620d.zip | |
Added more tests.
Querying of the upper bound is currently unstable.
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/endomorph/plan')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java | 14 |
1 files changed, 5 insertions, 9 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 202021d..19d567a 100644 --- a/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java +++ b/src/uk/ac/ox/cs/pagoda/endomorph/plan/OpenEndPlan.java | |||
| @@ -1,13 +1,7 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.endomorph.plan; | 1 | package uk.ac.ox.cs.pagoda.endomorph.plan; |
| 2 | 2 | ||
| 3 | import java.util.Collection; | 3 | import uk.ac.ox.cs.pagoda.endomorph.Clique; |
| 4 | import java.util.Deque; | 4 | import uk.ac.ox.cs.pagoda.endomorph.DependencyGraph; |
| 5 | import java.util.HashSet; | ||
| 6 | import java.util.LinkedList; | ||
| 7 | import java.util.Map; | ||
| 8 | import java.util.Set; | ||
| 9 | |||
| 10 | import uk.ac.ox.cs.pagoda.endomorph.*; | ||
| 11 | import uk.ac.ox.cs.pagoda.query.AnswerTuple; | 5 | import uk.ac.ox.cs.pagoda.query.AnswerTuple; |
| 12 | import uk.ac.ox.cs.pagoda.query.QueryRecord; | 6 | import uk.ac.ox.cs.pagoda.query.QueryRecord; |
| 13 | import uk.ac.ox.cs.pagoda.query.QueryRecord.Step; | 7 | import uk.ac.ox.cs.pagoda.query.QueryRecord.Step; |
| @@ -16,6 +10,8 @@ import uk.ac.ox.cs.pagoda.summary.NodeTuple; | |||
| 16 | import uk.ac.ox.cs.pagoda.util.Timer; | 10 | import uk.ac.ox.cs.pagoda.util.Timer; |
| 17 | import uk.ac.ox.cs.pagoda.util.Utility; | 11 | import uk.ac.ox.cs.pagoda.util.Utility; |
| 18 | 12 | ||
| 13 | import java.util.*; | ||
| 14 | |||
| 19 | public class OpenEndPlan implements CheckPlan { | 15 | public class OpenEndPlan implements CheckPlan { |
| 20 | 16 | ||
| 21 | public static final int TIME_OUT_MIN = 1; | 17 | public static final int TIME_OUT_MIN = 1; |
| @@ -91,7 +87,7 @@ public class OpenEndPlan implements CheckPlan { | |||
| 91 | } | 87 | } |
| 92 | 88 | ||
| 93 | m_record.addLowerBoundAnswers(validAnswers); | 89 | m_record.addLowerBoundAnswers(validAnswers); |
| 94 | m_record.addProcessingTime(Step.FullReasoning, t.duration()); | 90 | m_record.addProcessingTime(Step.FULL_REASONING, t.duration()); |
| 95 | return count; | 91 | return count; |
| 96 | } | 92 | } |
| 97 | 93 | ||
