Arg2pPrologSolverFactory

object Arg2pPrologSolverFactory : SolverFactory

The SolverFactory of the engine of arg2p, the fork of 2P-Kt's ISO-standard, SLD-NF resolution engine (:solve-prolog) that inlines module calls and keeps the bindings of the goals left to solve (see README.md in this package). The solvers of arg2p are built with it (Arg2pSolverFactory); it is public for the tools building their own.

Every Solver/MutableSolver produced here resolves goals with the explicit, inspectable finite-state machine documented under it.unibo.tuprolog.argumentation.core.engine.fsm (see PrologExecutionContext and SolutionIterator for the two pieces that make it tick), rather than via the host language's call stack.

See also

Properties

Link copied to clipboard
open override val defaultBuiltins: Library
Link copied to clipboard
open val defaultDynamicKb: Theory
Link copied to clipboard
open val defaultErrorChannel: OutputChannel<String>
Link copied to clipboard
open val defaultFlags: FlagStore
Link copied to clipboard
open val defaultInputChannel: InputChannel<String>
Link copied to clipboard
open val defaultOutputChannel: OutputChannel<String>
Link copied to clipboard
open val defaultRuntime: Runtime
Link copied to clipboard
open val defaultStaticKb: Theory
Link copied to clipboard
open val defaultUnificator: Unificator
Link copied to clipboard
open val defaultWarningsChannel: OutputChannel<Warning>

Functions

Link copied to clipboard
open override fun mutableSolverOf(unificator: Unificator, libraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, inputs: InputStore, outputs: OutputStore): MutableSolver
open override fun mutableSolverOf(unificator: Unificator, libraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, stdIn: InputChannel<String>, stdOut: OutputChannel<String>, stdErr: OutputChannel<String>, warnings: OutputChannel<Warning>): MutableSolver
Link copied to clipboard
open fun mutableSolverWithDefaultBuiltins(unificator: Unificator, otherLibraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, stdIn: InputChannel<String>, stdOut: OutputChannel<String>, stdErr: OutputChannel<String>, warnings: OutputChannel<Warning>): MutableSolver
Link copied to clipboard
open fun newBuilder(): SolverBuilder
Link copied to clipboard
open override fun solverOf(unificator: Unificator, libraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, inputs: InputStore, outputs: OutputStore): Solver
open override fun solverOf(unificator: Unificator, libraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, stdIn: InputChannel<String>, stdOut: OutputChannel<String>, stdErr: OutputChannel<String>, warnings: OutputChannel<Warning>): Solver
Link copied to clipboard
open fun solverWithDefaultBuiltins(unificator: Unificator, otherLibraries: Runtime, flags: FlagStore, staticKb: Theory, dynamicKb: Theory, stdIn: InputChannel<String>, stdOut: OutputChannel<String>, stdErr: OutputChannel<String>, warnings: OutputChannel<Warning>): Solver