Classic Execution Context
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)
Content copied to clipboard
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)
Content copied to clipboard
Functions
Link copied to clipboard
open fun apply(sideEffects: Iterable<<ERROR CLASS>>): ClassicExecutionContext
Content copied to clipboard
open fun apply(sideEffects: Sequence<<ERROR CLASS>>): ClassicExecutionContext
Content copied to clipboard
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>
Content copied to clipboard
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>
Content copied to clipboard
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
Content copied to clipboard
Properties
Extensions
Link copied to clipboard
fun ClassicExecutionContext.appendPrimitivesAndChoicePoints(primitiveExecutions: <ERROR CLASS><out <ERROR CLASS>>): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.appendRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.createChild(inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.createChildAppendingPrimitivesAndChoicePoints(primitiveExecutions: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.createChildAppendingRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.replaceWithChild(inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.replaceWithChildAppendingRulesAndChoicePoints(rules: <ERROR CLASS><out <ERROR CLASS>>, inferProcedureFromGoals: Boolean = true): ClassicExecutionContext
Content copied to clipboard
Link copied to clipboard
fun ClassicExecutionContext.toRequest(goal: <ERROR CLASS>, signature: <ERROR CLASS>): <ERROR CLASS>
Content copied to clipboard