ClauseQueue

interface ClauseQueue : ClauseCollection

Types

Companion
Link copied to clipboard
object Companion

Functions

add
Link copied to clipboard
open override fun add(clause: Clause): ClauseQueue
Gives a freshly produced ClauseQueue including the given Clause and the content of this one.
addAll
Link copied to clipboard
abstract override fun addAll(clauses: Iterable<Clause>): ClauseQueue
Gives a freshly produced ClauseQueue including all the given Clause and the content of this one
addFirst
Link copied to clipboard
abstract fun addFirst(clause: Clause): ClauseQueue
Gives a freshly produced ClauseQueue including the given Clause in the first position and the content of this one
addLast
Link copied to clipboard
abstract fun addLast(clause: Clause): ClauseQueue
Gives a freshly produced ClauseQueue including the given Clause in the last position 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
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
open override fun retrieve(clause: Clause): RetrieveResult<out ClauseQueue>
Retrieve the first Clause unifying the given one.
retrieveAll
Link copied to clipboard
abstract override fun retrieveAll(clause: Clause): RetrieveResult<out ClauseQueue>
Retrieve all the Clause unifying the given one
retrieveFirst
Link copied to clipboard
abstract fun retrieveFirst(clause: Clause): RetrieveResult<out ClauseQueue>
Retrieve 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

Inheritors

MutableClauseQueue
Link copied to clipboard