ChoicePointContext

sealed class ChoicePointContext

Types

Primitives
Link copied to clipboard
data class Primitives(alternatives: Cursor<out Solve.Response>, executionContext: ClassicExecutionContext?, parent: ChoicePointContext?, depth: Int) : ChoicePointContext
Rules
Link copied to clipboard
data class Rules(alternatives: Cursor<out Rule>, executionContext: ClassicExecutionContext?, parent: ChoicePointContext?, depth: Int) : ChoicePointContext

Functions

backtrack
Link copied to clipboard
abstract fun backtrack(context: ClassicExecutionContext): ClassicExecutionContext
toString
Link copied to clipboard
open override fun toString(): String

Properties

alternatives
Link copied to clipboard
open val alternatives: Cursor<out Any>
depth
Link copied to clipboard
open val depth: Int = 0
executionContext
Link copied to clipboard
open val executionContext: ClassicExecutionContext?
executionContextDepth
Link copied to clipboard
val executionContextDepth: Int?
executionContextProcedure
Link copied to clipboard
val executionContextProcedure: Struct?
hasOpenAlternatives
Link copied to clipboard
val hasOpenAlternatives: Boolean
isRoot
Link copied to clipboard
val isRoot: Boolean
parent
Link copied to clipboard
open val parent: ChoicePointContext?
pathToRoot
Link copied to clipboard
val pathToRoot: Sequence<ChoicePointContext>

Inheritors

ChoicePointContext
Link copied to clipboard
ChoicePointContext
Link copied to clipboard

Extensions

appendPrimitives
Link copied to clipboard
fun ChoicePointContext?.appendPrimitives(alternatives: Cursor<out Solve.Response>, executionContext: ClassicExecutionContext? = null): ChoicePointContext
appendRules
Link copied to clipboard
fun ChoicePointContext?.appendRules(alternatives: Cursor<out Rule>, executionContext: ClassicExecutionContext? = null): ChoicePointContext
nextDepth
Link copied to clipboard
fun ChoicePointContext?.nextDepth(): Int