class PredConj extends Formula with SortedWithOrder[PredConj]
A class for representing a conjunction of positive and negative predicate literals
- Alphabetic
- By Inheritance
- PredConj
- SortedWithOrder
- Sorted
- Formula
- TerFor
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def --(that: PredConj): PredConj
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
- lazy val constants: Set[ConstantTerm]
- Definition Classes
- PredConj → SortedWithOrder → TerFor
- def diff(oldConj: PredConj)(implicit fullOrder: TermOrder): (PredConj, PredConj)
Find the subset of literals in this conjunction that also occur in
oldConj
, as well as the subset of literals that do not occur inoldConj
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(that: Any): Boolean
- Definition Classes
- PredConj → AnyRef → Any
- def filter(pred: (Atom) => Boolean): PredConj
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- lazy val groundAtoms: Set[Atom]
- def hashCode(): Int
- Definition Classes
- PredConj → AnyRef → Any
- def implies(that: PredConj): Boolean
- def isFalse: Boolean
Return
true
if this formula is obviously always false. - final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isLiteral: Boolean
- def isSortedBy(otherOrder: TermOrder): Boolean
- Definition Classes
- SortedWithOrder → Sorted
- def isTrue: Boolean
Return
true
if this formula is obviously always true - def iterator: Iterator[PredConj]
- def lookupFunctionResult(atom: Atom): Option[LinearCombination]
Check whether there is a positive literal with the given predicate, and starting with the given arguments, and return the last argument.
- def lookupFunctionResult(pred: Predicate, arguments: Seq[LinearCombination]): Option[LinearCombination]
Check whether there is a positive literal with the given predicate, and starting with the given arguments, and return the last argument.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def negate: PredConj
Create the negation of exactly one literal
- val negativeLits: IndexedSeq[Atom]
- lazy val negativeLitsAsSet: Set[Atom]
- def negativeLitsWithPred(pred: Predicate): IndexedSeq[Atom]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @HotSpotIntrinsicCandidate() @native()
- val order: TermOrder
- Definition Classes
- PredConj → SortedWithOrder
- def partition(pred: (Atom) => Boolean): (PredConj, PredConj)
- val positiveLits: IndexedSeq[Atom]
- lazy val positiveLitsAsSet: Set[Atom]
- def positiveLitsWithPred(pred: Predicate): IndexedSeq[Atom]
- lazy val predicates: Set[Predicate]
- Definition Classes
- PredConj → SortedWithOrder → TerFor
- def size: Int
- def sortBy(newOrder: TermOrder): PredConj
Re-sort an object with a new
TermOrder
. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- PredConj → AnyRef → Any
- def unary_!: PredConj
- def updateLits(newPosLits: IndexedSeq[Atom], newNegLits: IndexedSeq[Atom])(implicit newOrder: TermOrder): PredConj
- def updateLits(newPosLits: IndexedSeq[Atom], newNegLits: IndexedSeq[Atom], logger: ComputationLogger)(implicit newOrder: TermOrder): PredConj
Update the literals of this conjunction; if nothing has changed, the old object is returned
- def updateLitsSubset(newPosLits: IndexedSeq[Atom], newNegLits: IndexedSeq[Atom], newOrder: TermOrder): PredConj
Update the atoms of this conjunction under the assumption that the new atoms form a subset of the old atoms
- lazy val variables: Set[VariableTerm]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)