ClauseMultiSet

interface ClauseMultiSet : ClauseCollection

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
abstract override fun add(clause: Clause): ClauseMultiSet
Gives a freshly produced ClauseMultiSet including the given Clause and the content of this one
addAll
Link copied to clipboard
abstract override fun addAll(clauses: Iterable<Clause>): ClauseMultiSet
Gives a freshly produced ClauseMultiSet including all the given Clause and the content of this one
contains
Link copied to clipboard
abstract operator fun contains(element: Clause): Boolean
Tells if the ClauseCollection contains the given Clause
containsAll
Link copied to clipboard
abstract fun containsAll(elements: Iterable<Clause>): Boolean
Tells if the ClauseCollection contains all the given Clause
count
Link copied to clipboard
abstract fun count(clause: Clause): Long
Gives the number of Clause that would unify over the given clause.
get
Link copied to clipboard
abstract operator fun get(clause: Clause): Sequence<Clause>
Produces a Sequence of the clauses that would unify over the given Clause.
isEmpty
Link copied to clipboard
abstract fun isEmpty(): Boolean
Tells if the ClauseCollection contains any Clause
iterator
Link copied to clipboard
abstract operator override fun iterator(): Iterator<Clause>
retrieve
Link copied to clipboard
abstract override fun retrieve(clause: Clause): RetrieveResult<out ClauseMultiSet>
Produces a RetrieveResult as a consequence of the attempt at deleting the given Clause from this ClauseMultiSet
retrieveAll
Link copied to clipboard
abstract override fun retrieveAll(clause: Clause): RetrieveResult<out ClauseMultiSet>
Produces a RetrieveResult as a consequence of the attempt at deleting all the given Clause from this ClauseMultiSet

Properties

size
Link copied to clipboard
abstract val size: Int
Computes the size of the ClauseCollection

Inheritors

MutableClauseMultiSet
Link copied to clipboard