MutableClauseMultiSet
A ClauseMultiSet that mutates itself in place; see MutableClauseCollection for why this trades away immutability.
Properties
Only the clauses in this collection that are Directives.
Computes the size of the ClauseCollection
The Unificator used to match clauses against each other in this collection.
Functions
Adds the given Clause to this MutableClauseMultiSet, mutating it in place, and returns this
Adds all the given Clause to this MutableClauseMultiSet, mutating it in place, and returns this
Tells if, for each of the given elements, the ClauseCollection contains a unifying clause
Tells if the ClauseCollection contains any Clause
Tells if the ClauseCollection contains at least one Clause; the negation of isEmpty.
Iterates over all the clauses in this collection, in an order that depends on the concrete implementation (e.g. insertion order for a ClauseQueue, unspecified for a ClauseMultiSet).
Removes the first Clause unifying the given one from this MutableClauseMultiSet, mutating it in place, and returns the outcome as a RetrieveResult
Removes all the Clauses unifying the given one from this MutableClauseMultiSet, mutating it in place, and returns the outcome as a RetrieveResult