MutableClauseQueue

interface MutableClauseQueue : ClauseQueue

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
abstract override fun add(clause: Clause): MutableClauseQueue
Adds the given Clause to this MutableClauseQueue.
addAll
Link copied to clipboard
abstract override fun addAll(clauses: Iterable<Clause>): MutableClauseQueue
Adds all the given Clause to this MutableClauseQueue
addFirst
Link copied to clipboard
abstract override fun addFirst(clause: Clause): MutableClauseQueue
Adds the given Clause as the first element in this MutableClauseQueue
addLast
Link copied to clipboard
abstract override fun addLast(clause: Clause): MutableClauseQueue
Adds the given Clause as the last element in this MutableClauseQueue
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
get
Link copied to clipboard
open operator fun get(clause: Clause): Sequence<Clause>
Produces a Sequence of the clauses that would unify over the given Clause.
getFifoOrdered
Link copied to clipboard
abstract fun getFifoOrdered(clause: Clause): Sequence<Clause>
Produces a Sequence of the clauses that would unify over the given Clause, scanning from data structure from the first position to the last one
getLifoOrdered
Link copied to clipboard
abstract fun getLifoOrdered(clause: Clause): Sequence<Clause>
Produces a Sequence of the clauses that would unify over the given Clause, scanning from data structure from the last position to the first
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 MutableClauseQueue>
Retrieves the first occurrence of the given Clause from this MutableClauseQueue as a RetrieveResult
retrieveAll
Link copied to clipboard
abstract override fun retrieveAll(clause: Clause): RetrieveResult<out MutableClauseQueue>
Retrieves all the occurrences of the given Clause from this MutableClauseQueue as a RetrieveResult
retrieveFirst
Link copied to clipboard
abstract override fun retrieveFirst(clause: Clause): RetrieveResult<out MutableClauseQueue>
Retrieves the first Clause unifying the given one, searching from the first position

Properties

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