ClassicExecutionContext

data class ClassicExecutionContext(    val procedure: <ERROR CLASS>? = null,     val libraries: <ERROR CLASS> = Libraries.empty(),     val flags: <ERROR CLASS> = FlagStore.empty(),     val staticKb: <ERROR CLASS> = Theory.empty(),     val dynamicKb: <ERROR CLASS> = MutableTheory.empty(),     val operators: <ERROR CLASS> = getAllOperators(libraries, staticKb, dynamicKb).toOperatorSet(),     val inputChannels: <ERROR CLASS> = InputStore.fromStandard(),     val outputChannels: <ERROR CLASS> = OutputStore.fromStandard(),     val customData: <ERROR CLASS> = CustomDataStore.empty(),     val substitution: <ERROR CLASS> = Substitution.empty(),     val query: <ERROR CLASS> = Truth.TRUE,     val goals: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     val rules: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     val primitives: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     val startTime: <ERROR CLASS> = 0,     val maxDuration: <ERROR CLASS> = TimeDuration.MAX_VALUE,     val choicePoints: ChoicePointContext? = null,     val parent: ClassicExecutionContext? = null,     val depth: Int = 0,     val step: Long = 0)

Constructors

Link copied to clipboard
fun ClassicExecutionContext(    procedure: <ERROR CLASS>? = null,     libraries: <ERROR CLASS> = Libraries.empty(),     flags: <ERROR CLASS> = FlagStore.empty(),     staticKb: <ERROR CLASS> = Theory.empty(),     dynamicKb: <ERROR CLASS> = MutableTheory.empty(),     operators: <ERROR CLASS> = getAllOperators(libraries, staticKb, dynamicKb).toOperatorSet(),     inputChannels: <ERROR CLASS> = InputStore.fromStandard(),     outputChannels: <ERROR CLASS> = OutputStore.fromStandard(),     customData: <ERROR CLASS> = CustomDataStore.empty(),     substitution: <ERROR CLASS> = Substitution.empty(),     query: <ERROR CLASS> = Truth.TRUE,     goals: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     rules: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     primitives: <ERROR CLASS><out <ERROR CLASS>> = Cursor.empty(),     startTime: <ERROR CLASS> = 0,     maxDuration: <ERROR CLASS> = TimeDuration.MAX_VALUE,     choicePoints: ChoicePointContext? = null,     parent: ClassicExecutionContext? = null,     depth: Int = 0,     step: Long = 0)

Functions

Link copied to clipboard
open fun apply(sideEffect: <ERROR CLASS>): ClassicExecutionContext
open fun apply(sideEffects: Iterable<<ERROR CLASS>>): ClassicExecutionContext
open fun apply(sideEffects: Sequence<<ERROR CLASS>>): ClassicExecutionContext
Link copied to clipboard
open fun createMutableSolver(    libraries: <ERROR CLASS>,     flags: <ERROR CLASS>,     staticKb: <ERROR CLASS>,     dynamicKb: <ERROR CLASS>,     inputChannels: <ERROR CLASS>,     outputChannels: <ERROR CLASS>): <ERROR CLASS>
Link copied to clipboard
open fun createSolver(    libraries: <ERROR CLASS>,     flags: <ERROR CLASS>,     staticKb: <ERROR CLASS>,     dynamicKb: <ERROR CLASS>,     inputChannels: <ERROR CLASS>,     outputChannels: <ERROR CLASS>): <ERROR CLASS>
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open fun update(    libraries: <ERROR CLASS>,     flags: <ERROR CLASS>,     staticKb: <ERROR CLASS>,     dynamicKb: <ERROR CLASS>,     operators: <ERROR CLASS>,     inputChannels: <ERROR CLASS>,     outputChannels: <ERROR CLASS>,     customData: <ERROR CLASS>): ClassicExecutionContext

Properties

Link copied to clipboard
val choicePoints: ChoicePointContext? = null
Link copied to clipboard
val currentGoal: <ERROR CLASS>?
Link copied to clipboard
open val customData: <ERROR CLASS>
Link copied to clipboard
val depth: Int = 0
Link copied to clipboard
open val dynamicKb: <ERROR CLASS>
Link copied to clipboard
open val flags: <ERROR CLASS>
Link copied to clipboard
val goals: <ERROR CLASS><out <ERROR CLASS>>
Link copied to clipboard
val hasOpenAlternatives: Boolean
Link copied to clipboard
open val inputChannels: <ERROR CLASS>
Link copied to clipboard
val interestingVariables: Set<<ERROR CLASS>>
Link copied to clipboard
val isActivationRecord: Boolean
Link copied to clipboard
val isRoot: Boolean
Link copied to clipboard
open val libraries: <ERROR CLASS>
Link copied to clipboard
open val logicStackTrace: List<<ERROR CLASS>>
Link copied to clipboard
val maxDuration: <ERROR CLASS>
Link copied to clipboard
open val operators: <ERROR CLASS>
Link copied to clipboard
open val outputChannels: <ERROR CLASS>
Link copied to clipboard
val parent: ClassicExecutionContext? = null
Link copied to clipboard
val pathToRoot: Sequence<ClassicExecutionContext>
Link copied to clipboard
val primitives: <ERROR CLASS><out <ERROR CLASS>>
Link copied to clipboard
open val procedure: <ERROR CLASS>? = null
Link copied to clipboard
val query: <ERROR CLASS>
Link copied to clipboard
val rules: <ERROR CLASS><out <ERROR CLASS>>
Link copied to clipboard
val startTime: <ERROR CLASS> = 0
Link copied to clipboard
open val staticKb: <ERROR CLASS>
Link copied to clipboard
val step: Long = 0
Link copied to clipboard
open val substitution: <ERROR CLASS>

Extensions

Link copied to clipboard
fun ClassicExecutionContext.appendPrimitivesAndChoicePoints(primitiveExecutions: <ERROR CLASS><out <ERROR CLASS>>): ClassicExecutionContext
Link copied to clipboard
fun ClassicExecutionContext.appendRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>): ClassicExecutionContext
Link copied to clipboard
fun ClassicExecutionContext.createChild(inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
fun ClassicExecutionContext.createChildAppendingPrimitivesAndChoicePoints(primitiveExecutions: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Link copied to clipboard
fun ClassicExecutionContext.createChildAppendingRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Link copied to clipboard
fun ClassicExecutionContext.replaceWithChild(inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
fun ClassicExecutionContext.replaceWithChildAppendingRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Link copied to clipboard
fun ClassicExecutionContext.toRequest(goal: <ERROR CLASS>, signature: <ERROR CLASS>): <ERROR CLASS>