Solver
General type for logic solvers, i.e. any entity capable of solving some logic query -- provided as a Struct -- according to some logic, implementing one or more inference rule, via some resolution strategy.
Solvers are not immutable entities. Their state may mutate as an effect of solving queries.
Types
Functions
Link copied to clipboard
abstract fun copy( libraries: Libraries = Libraries.empty(), flags: FlagStore = FlagStore.empty(), staticKb: <ERROR CLASS> = Theory.empty(), dynamicKb: <ERROR CLASS> = MutableTheory.empty(), stdIn: InputChannel<String> = InputChannel.stdIn(), stdOut: OutputChannel<String> = OutputChannel.stdOut(), stdErr: OutputChannel<String> = OutputChannel.stdErr(), warnings: OutputChannel<Warning> = OutputChannel.warn()): Solver
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Properties
Link copied to clipboard
Link copied to clipboard
Shortcut for the standard error channel defined in outputChannels. Returns null if the channel is closed
Link copied to clipboard
Shortcut for the standard input channel defined in inputChannels. Returns null if the channel is closed
Link copied to clipboard
Shortcut for the standard output channel defined in outputChannels. Returns null if the channel is closed
Link copied to clipboard
Shortcut for the warnings channel defined in outputChannels. Returns null if the channel is closed