MutableClauseMultiSet

interface MutableClauseMultiSet : ClauseMultiSet

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
abstract override fun add(clause: Clause): MutableClauseMultiSet
Adds a Clause to this MutableClauseMultiSet
addAll
Link copied to clipboard
abstract override fun addAll(clauses: Iterable<Clause>): MutableClauseMultiSet
Adds all the given Clause to this MutableClauseMultiSet
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 MutableClauseMultiSet>
Retrieves the first unifying Clause from this MutableClauseMultiSet as a RetrieveResult
retrieveAll
Link copied to clipboard
abstract override fun retrieveAll(clause: Clause): RetrieveResult<out MutableClauseMultiSet>
Retrieves all the unifying Clause from this MutableClauseMultiSet as a RetrieveResult

Properties

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