MutableClauseQueue

interface MutableClauseQueue : ClauseQueue

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
abstract override fun add(clause: <ERROR CLASS>): MutableClauseQueue

Adds the given Clause to this MutableClauseQueue. Analogous to addLast

Link copied to clipboard
abstract override fun addAll(clauses: Iterable<<ERROR CLASS>>): MutableClauseQueue

Adds all the given Clause to this MutableClauseQueue

Link copied to clipboard
abstract override fun addFirst(clause: <ERROR CLASS>): MutableClauseQueue

Adds the given Clause as the first element in this MutableClauseQueue

Link copied to clipboard
abstract override fun addLast(clause: <ERROR CLASS>): MutableClauseQueue

Adds the given Clause as the last element in this MutableClauseQueue

Link copied to clipboard
abstract operator fun contains(element: <ERROR CLASS>): Boolean

Tells if the ClauseCollection contains the given Clause

Link copied to clipboard
abstract fun containsAll(elements: Iterable<<ERROR CLASS>>): Boolean

Tells if the ClauseCollection contains all the given Clause

Link copied to clipboard
open operator fun get(clause: <ERROR CLASS>): Sequence<<ERROR CLASS>>

Produces a Sequence of the clauses that would unify over the given Clause. Analogous to getFifoOrdered

Link copied to clipboard
abstract fun getFifoOrdered(clause: <ERROR CLASS>): Sequence<<ERROR CLASS>>

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

Link copied to clipboard
abstract fun getLifoOrdered(clause: <ERROR CLASS>): Sequence<<ERROR CLASS>>

Produces a Sequence of the clauses that would unify over the given Clause, scanning from data structure from the last position to the first

Link copied to clipboard
abstract fun isEmpty(): Boolean

Tells if the ClauseCollection contains any Clause

Link copied to clipboard
abstract operator override fun iterator(): Iterator<<ERROR CLASS>>
Link copied to clipboard
abstract override fun retrieve(clause: <ERROR CLASS>): RetrieveResult<out MutableClauseQueue>

Retrieves the first occurrence of the given Clause from this MutableClauseQueue as a RetrieveResult

Link copied to clipboard
abstract override fun retrieveAll(clause: <ERROR CLASS>): RetrieveResult<out MutableClauseQueue>

Retrieves all the occurrences of the given Clause from this MutableClauseQueue as a RetrieveResult

Link copied to clipboard
abstract override fun retrieveFirst(clause: <ERROR CLASS>): RetrieveResult<out MutableClauseQueue>

Retrieves the first Clause unifying the given one, searching from the first position

Properties

Link copied to clipboard
abstract val size: Int

Computes the size of the ClauseCollection