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/NullaryBottom.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/NullaryBottom.java')
| -rw-r--r-- | src/uk/ac/ox/cs/pagoda/constraints/NullaryBottom.java | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/src/uk/ac/ox/cs/pagoda/constraints/NullaryBottom.java b/src/uk/ac/ox/cs/pagoda/constraints/NullaryBottom.java deleted file mode 100644 index 16a9d45..0000000 --- a/src/uk/ac/ox/cs/pagoda/constraints/NullaryBottom.java +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | package uk.ac.ox.cs.pagoda.constraints; | ||
| 2 | |||
| 3 | import java.util.Collection; | ||
| 4 | |||
| 5 | import org.semanticweb.HermiT.model.Atom; | ||
| 6 | import org.semanticweb.HermiT.model.DLClause; | ||
| 7 | import org.semanticweb.HermiT.model.Term; | ||
| 8 | |||
| 9 | public class NullaryBottom implements BottomStrategy { | ||
| 10 | |||
| 11 | @Override | ||
| 12 | public Collection<DLClause> process(Collection<DLClause> clauses) { | ||
| 13 | return clauses; | ||
| 14 | } | ||
| 15 | |||
| 16 | @Override | ||
| 17 | public boolean isBottomRule(DLClause clause) { | ||
| 18 | return clause.getHeadLength() == 0; | ||
| 19 | } | ||
| 20 | |||
| 21 | @Override | ||
| 22 | public Atom[] getEmptyHead(Term t) { | ||
| 23 | return new Atom[0]; | ||
| 24 | } | ||
| 25 | |||
| 26 | @Override | ||
| 27 | public int getBottomNumber() { | ||
| 28 | return 1; | ||
| 29 | } | ||
| 30 | |||
| 31 | } | ||
