diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-05-12 18:48:56 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-05-12 18:48:56 +0100 |
| commit | 0c2726db44b562cbda9bfa87e76d829927c31ec8 (patch) | |
| tree | f4a681da5802ca90888719171a05a5d5cf78f040 /src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java | |
| parent | 4fe4ca32d8f45807ab881b6fb8e814842dad0ec6 (diff) | |
| download | ACQuA-0c2726db44b562cbda9bfa87e76d829927c31ec8.tar.gz ACQuA-0c2726db44b562cbda9bfa87e76d829927c31ec8.zip | |
Added classes for implementing new upper store (Limited Skolemisation).
Started implementation of the new classes.
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java b/src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java new file mode 100644 index 0000000..74c531f --- /dev/null +++ b/src/uk/ac/ox/cs/pagoda/rules/ExistConstantApproximator.java | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.rules; | ||
| 2 | |||
| 3 | import org.semanticweb.HermiT.model.DLClause; | ||
| 4 | import uk.ac.ox.cs.pagoda.multistage.AnswerTupleID; | ||
| 5 | |||
| 6 | import java.util.Collection; | ||
| 7 | |||
| 8 | /** | ||
| 9 | * A wrapper for <tt>OverApproxExist</tt>. | ||
| 10 | * */ | ||
| 11 | public class ExistConstantApproximator implements TupleDependentApproximator { | ||
| 12 | |||
| 13 | private final OverApproxExist overApproxExist; | ||
| 14 | |||
| 15 | public ExistConstantApproximator() { | ||
| 16 | overApproxExist = new OverApproxExist(); | ||
| 17 | } | ||
| 18 | |||
| 19 | @Override | ||
| 20 | public Collection<DLClause> convert(DLClause clause, DLClause originalClause, Collection<AnswerTupleID> violationTuples) { | ||
| 21 | return overApproxExist.convert(clause, originalClause); | ||
| 22 | } | ||
| 23 | } | ||
