NonBacktrackable

abstract class NonBacktrackable<E : ExecutionContext> : BinaryRelation<E>

Constructors

<init>

constructor(operator: String)

Parameters

Name Description
operator: String

Methods

computeOne

protected abstract fun Request<E>.computeOne(first: Term, second: Term): Response

Receiver

Name Description
Request<E>

Parameters

Name Description
first: Term
second: Term

ReturnValue

Name Description
Response

computeAll

protected fun Request<E>.computeAll(first: Term, second: Term): Sequence<Response>

Template method aimed at computing the application of this relation to three Terms

Receiver

Name Description
Request<E>

Parameters

Name Description
first: Term
second: Term

ReturnValue

Name Description
Sequence<Response>