public final class AtomicDecomposition.Atom extends Object implements HasAxioms, HasContainsAxiom
public boolean containsAxiom(OWLAxiom axiom)
HasContainsAxiomOWLAxiom.containsAxiom in interface HasContainsAxiomaxiom - The OWLAxiom to test for.true if this object contains axiom, otherwise false.@Nonnull public Stream<AtomicDecomposition.Atom> dependencies()
AtomicDecomposition.Atoms this AtomicDecomposition.Atom (directly or indirectly) depends on,
excluding this atom. In the literature, all atoms (A) with (this) > (A).AtomicDecomposition.Atoms this AtomicDecomposition.Atom depends on, excluding this atom@Nonnull public Stream<AtomicDecomposition.Atom> dependents()
AtomicDecomposition.Atoms that (directly or indirectly) depend on this AtomicDecomposition.Atom,
excluding this atom. In the literature, all atoms (A) with (A) > (this).AtomicDecomposition.Atoms that depend on this AtomicDecomposition.Atom, excluding this atompublic boolean dependsOn(AtomicDecomposition.Atom atom)
AtomicDecomposition.Atom (directly or indirectly) depends on the given AtomicDecomposition.Atom.
In the literature, if (this) > (given). Note that this returns false, if the
given atom is @{code ==} to this atom.atom - The AtomicDecomposition.Atom to check if this AtomicDecomposition.Atom depends on it. Cannot be null.AtomicDecomposition.Atom depends on the given AtomicDecomposition.AtomNullPointerException - If the given AtomicDecomposition.Atom was null@Nonnull public Stream<AtomicDecomposition.Atom> directDependencies()
AtomicDecomposition.Atoms this AtomicDecomposition.Atom DIRECTLY depends on, excluding this atom. In
the literature,
all atoms (A) with (this) > (A), such there is no other atom (B) with
(this) > (B) > (A). This method is equal to calling
thisAtom.dependencies(thisAtom::directlyDependsOn) and on each call is in
O(this.getAxiomCount()^2) .AtomicDecomposition.Atoms this AtomicDecomposition.Atom DIRECTLY depends on, excluding this atom@Nonnull public Stream<AtomicDecomposition.Atom> directDependents()
AtomicDecomposition.Atoms that DIRECTLY depend on this AtomicDecomposition.Atom, excluding this atom.
In the literature,
all atoms (A) with (A) > (this), such there is no other atom (B)
with (A) > (B) > (this). This method is equal to calling
thisAtom.dependencies(thisAtom::isDirectDependencyOf) and on each call is in
O(this.getAxiomCount()^2) .AtomicDecomposition.Atoms this AtomicDecomposition.Atom DIRECTLY depends on, excluding this atompublic boolean directlyDependsOn(AtomicDecomposition.Atom atom)
AtomicDecomposition.Atom DIRECTLY depends on the given one. In the literature,
if
(this) > (given) and there is no other atom (B) with (this) > (B) > (given). On
each call this method is in O(this.getAxiomCount()). Note that this returns false, if the
given atom is @{code ==} to this atom.atom - The AtomicDecomposition.Atom to check if this one directly depends on itAtomicDecomposition.Atom DIRECTLY depends on the given oneNullPointerException - if the given AtomicDecomposition.Atom was nullpublic int getAxiomCount()
AtomicDecomposition.Atom.AtomicDecomposition.Atompublic boolean isDependencyOf(AtomicDecomposition.Atom atom)
AtomicDecomposition.Atom (directly or indirectly) depends on this AtomicDecomposition.Atom.
In the literature, if (given) > (this). Note that this returns false, if the
given atom is @{code ==} to this atom.atom - The AtomicDecomposition.Atom to check if it depends on this AtomicDecomposition.Atom. Cannot be null.AtomicDecomposition.Atom depends on the this AtomicDecomposition.AtomNullPointerException - If the given AtomicDecomposition.Atom was nullpublic boolean isDirectDependencyOf(AtomicDecomposition.Atom atom)
AtomicDecomposition.Atom DIRECTLY depends on this AtomicDecomposition.Atom. In the
literature,
if (given) > (this) and there is no other atom (B) with (given) > (B)
> (this). On each call this method is in O(this.getAxiomCount()). Note that this
returns false, if the given atom is @{code ==} to this atom.atom - The atom to check if it directly depends on this oneAtomicDecomposition.Atom DIRECTLY depends on this oneNullPointerException - if the given AtomicDecomposition.Atom was nullCopyright © 2020 The University of Manchester. All rights reserved.