diff options
| author | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-10 18:17:06 +0100 |
|---|---|---|
| committer | Federico Igne <federico.igne@cs.ox.ac.uk> | 2022-05-11 12:34:47 +0100 |
| commit | 17bd9beaf7f358a44e5bf36a5855fe6727d506dc (patch) | |
| tree | 47e9310a0cff869d9ec017dcb2c81876407782c8 /src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java | |
| parent | 8651164cd632a5db310b457ce32d4fbc97bdc41c (diff) | |
| download | ACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.tar.gz ACQuA-17bd9beaf7f358a44e5bf36a5855fe6727d506dc.zip | |
[pagoda] Move project to Scala
This commit includes a few changes:
- The repository still uses Maven to manage dependency but it is now a
Scala project.
- The code has been ported from OWLAPI 3.4.10 to 5.1.20
- A proof of concept program using both RSAComb and PAGOdA has been
added.
Diffstat (limited to 'src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java b/src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java deleted file mode 100644 index 415119a..0000000 --- a/src/uk/ac/ox/cs/pagoda/constraints/ToBeRemovedBottom.java +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.constraints; | ||
| 2 | |||
| 3 | import java.util.Collection; | ||
| 4 | import java.util.LinkedList; | ||
| 5 | |||
| 6 | import org.semanticweb.HermiT.model.Atom; | ||
| 7 | import org.semanticweb.HermiT.model.DLClause; | ||
| 8 | import org.semanticweb.HermiT.model.Term; | ||
| 9 | |||
| 10 | public class ToBeRemovedBottom implements BottomStrategy { | ||
| 11 | |||
| 12 | @Override | ||
| 13 | public Collection<DLClause> process(Collection<DLClause> clauses) { | ||
| 14 | Collection<DLClause> ret = new LinkedList<DLClause>(); | ||
| 15 | for (DLClause clause: clauses) | ||
| 16 | if (clause.getHeadLength() != 0) | ||
| 17 | ret.add(clause); | ||
| 18 | return ret; | ||
| 19 | } | ||
| 20 | |||
| 21 | @Override | ||
| 22 | public boolean isBottomRule(DLClause clause) { | ||
| 23 | return false; | ||
| 24 | } | ||
| 25 | |||
| 26 | @Override | ||
| 27 | public Atom[] getEmptyHead(Term t) { | ||
| 28 | return null; | ||
| 29 | } | ||
| 30 | |||
| 31 | @Override | ||
| 32 | public int getBottomNumber() { | ||
| 33 | return 0; | ||
| 34 | } | ||
| 35 | |||
| 36 | } | ||
