public class AtomicDecompositionImpl extends Object implements AtomicDecomposition
Constructor and Description |
---|
AtomicDecompositionImpl(List<OWLAxiom> axioms,
ModuleType type) |
AtomicDecompositionImpl(OWLOntology o) |
AtomicDecompositionImpl(OWLOntology o,
ModuleType type) |
AtomicDecompositionImpl(OWLOntology o,
ModuleType type,
boolean excludeAssertions) |
Modifier and Type | Method and Description |
---|---|
Atom |
getAtomForAxiom(OWLAxiom axiom) |
AtomList |
getAtomList() |
Set<Atom> |
getAtoms() |
Set<Atom> |
getBottomAtoms() |
Set<Atom> |
getDependencies(Atom atom) |
Set<Atom> |
getDependencies(Atom atom,
boolean direct) |
Set<Atom> |
getDependents(Atom atom) |
Set<Atom> |
getDependents(Atom atom,
boolean direct) |
Stream<OWLAxiom> |
getModule(Stream<OWLEntity> signature,
boolean useSemantics,
ModuleType moduletype) |
Set<OWLAxiom> |
getPrincipalIdeal(Atom atom) |
Set<OWLEntity> |
getPrincipalIdealSignature(Atom atom) |
Set<Atom> |
getRelatedAtoms(Atom atom) |
Set<OWLAxiom> |
getTautologies() |
Map<OWLEntity,Set<Atom>> |
getTermBasedIndex() |
Set<Atom> |
getTopAtoms() |
boolean |
isBottomAtom(Atom atom) |
boolean |
isTopAtom(Atom atom) |
public AtomicDecompositionImpl(OWLOntology o)
o
- opublic AtomicDecompositionImpl(OWLOntology o, ModuleType type)
o
- otype
- typepublic AtomicDecompositionImpl(OWLOntology o, ModuleType type, boolean excludeAssertions)
o
- otype
- typeexcludeAssertions
- true if assertions should be excludedpublic AtomicDecompositionImpl(List<OWLAxiom> axioms, ModuleType type)
axioms
- axiomstype
- typepublic Set<Atom> getAtoms()
getAtoms
in interface AtomicDecomposition
@Nullable public Atom getAtomForAxiom(OWLAxiom axiom)
getAtomForAxiom
in interface AtomicDecomposition
axiom
- the axiom to searchpublic boolean isTopAtom(Atom atom)
isTopAtom
in interface AtomicDecomposition
atom
- atompublic boolean isBottomAtom(Atom atom)
isBottomAtom
in interface AtomicDecomposition
atom
- atompublic Set<OWLAxiom> getPrincipalIdeal(Atom atom)
getPrincipalIdeal
in interface AtomicDecomposition
atom
- atompublic Set<OWLEntity> getPrincipalIdealSignature(Atom atom)
getPrincipalIdealSignature
in interface AtomicDecomposition
atom
- atompublic Set<Atom> getDependencies(Atom atom)
getDependencies
in interface AtomicDecomposition
atom
- atompublic Set<Atom> getDependencies(Atom atom, boolean direct)
getDependencies
in interface AtomicDecomposition
atom
- atomdirect
- true if only direct dependencies should be returnedpublic Set<Atom> getDependents(Atom atom)
getDependents
in interface AtomicDecomposition
atom
- atompublic Set<Atom> getDependents(Atom atom, boolean direct)
getDependents
in interface AtomicDecomposition
atom
- atomdirect
- true if only direct dependents should be returnedpublic Set<Atom> getRelatedAtoms(Atom atom)
getRelatedAtoms
in interface AtomicDecomposition
atom
- atompublic Set<Atom> getTopAtoms()
getTopAtoms
in interface AtomicDecomposition
public Set<Atom> getBottomAtoms()
getBottomAtoms
in interface AtomicDecomposition
public Set<OWLAxiom> getTautologies()
getTautologies
in interface AtomicDecomposition
public Map<OWLEntity,Set<Atom>> getTermBasedIndex()
getTermBasedIndex
in interface AtomicDecomposition
public AtomList getAtomList()
getAtomList
in interface AtomicDecomposition
public Stream<OWLAxiom> getModule(Stream<OWLEntity> signature, boolean useSemantics, ModuleType moduletype)
getModule
in interface AtomicDecomposition
signature
- signature for the module to extractuseSemantics
- true if semantic extraction should be usedmoduletype
- type of moduleCopyright © 2020 The University of Manchester. All rights reserved.