org.semanticweb.HermiT.owlapi.structural
Class OwlClausification.Clausifier
java.lang.Object
org.semanticweb.HermiT.owlapi.structural.OwlClausification.Clausifier
- All Implemented Interfaces:
- org.semanticweb.owl.model.OWLDescriptionVisitor
- Enclosing class:
- OwlClausification
protected static class OwlClausification.Clausifier
- extends java.lang.Object
- implements org.semanticweb.owl.model.OWLDescriptionVisitor
|
Constructor Summary |
OwlClausification.Clausifier(java.util.Set<Atom> positiveFacts,
boolean renameAtMost,
org.semanticweb.owl.model.OWLDataFactory factory,
int amqOffset,
boolean onlyCoreDatatypes)
|
|
Method Summary |
protected void |
addAtMostAtoms(int number,
org.semanticweb.owl.model.OWLObjectPropertyExpression onObjectProperty,
org.semanticweb.owl.model.OWLDescription toDescription)
|
int |
clausifyAtMostStuff(java.util.Collection<DLClause> dlClauses)
|
protected void |
ensureYNotZero()
|
protected AtomicConcept |
getConceptForNominal(org.semanticweb.owl.model.OWLIndividual individual)
|
DLClause |
getDLClause()
|
protected Variable |
nextY()
|
void |
visit(org.semanticweb.owl.model.OWLClass object)
|
void |
visit(org.semanticweb.owl.model.OWLDataAllRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLDataExactCardinalityRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLDataMaxCardinalityRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLDataMinCardinalityRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLDataSomeRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLDataValueRestriction desc)
|
void |
visit(org.semanticweb.owl.model.OWLObjectAllRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectComplementOf object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectExactCardinalityRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectIntersectionOf object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectMaxCardinalityRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectMinCardinalityRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectOneOf object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectSelfRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectSomeRestriction object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectUnionOf object)
|
void |
visit(org.semanticweb.owl.model.OWLObjectValueRestriction object)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_negativeAtMostReplacements
protected final java.util.Map<AtomicConcept,AtomicConcept> m_negativeAtMostReplacements
amqOffset
private final int amqOffset
m_headAtoms
protected final java.util.List<Atom> m_headAtoms
m_bodyAtoms
protected final java.util.List<Atom> m_bodyAtoms
m_atMostRoleGuards
protected final java.util.Set<AtMostAbstractRoleGuard> m_atMostRoleGuards
m_positiveFacts
protected final java.util.Set<Atom> m_positiveFacts
m_renameAtMost
protected final boolean m_renameAtMost
onlyCoreDatatypes
protected final boolean onlyCoreDatatypes
m_yIndex
protected int m_yIndex
m_factory
protected final org.semanticweb.owl.model.OWLDataFactory m_factory
OwlClausification.Clausifier
public OwlClausification.Clausifier(java.util.Set<Atom> positiveFacts,
boolean renameAtMost,
org.semanticweb.owl.model.OWLDataFactory factory,
int amqOffset,
boolean onlyCoreDatatypes)
getDLClause
public DLClause getDLClause()
ensureYNotZero
protected void ensureYNotZero()
nextY
protected Variable nextY()
getConceptForNominal
protected AtomicConcept getConceptForNominal(org.semanticweb.owl.model.OWLIndividual individual)
visit
public void visit(org.semanticweb.owl.model.OWLClass object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataAllRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataSomeRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataExactCardinalityRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataMaxCardinalityRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataMinCardinalityRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLDataValueRestriction desc)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectAllRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectSomeRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectSelfRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectMinCardinalityRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectMaxCardinalityRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectExactCardinalityRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectOneOf object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectValueRestriction object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectComplementOf object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectUnionOf object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
visit
public void visit(org.semanticweb.owl.model.OWLObjectIntersectionOf object)
- Specified by:
visit in interface org.semanticweb.owl.model.OWLDescriptionVisitor
clausifyAtMostStuff
public int clausifyAtMostStuff(java.util.Collection<DLClause> dlClauses)
- Returns:
- the number of new "negativeAtMostReplacements" introduced
addAtMostAtoms
protected void addAtMostAtoms(int number,
org.semanticweb.owl.model.OWLObjectPropertyExpression onObjectProperty,
org.semanticweb.owl.model.OWLDescription toDescription)