Mutable Theory
Types
Functions
Link copied to clipboard
Link copied to clipboard
abstract override fun assertA(clauses: Iterable<<ERROR CLASS>>): MutableTheory
Content copied to clipboard
abstract override fun assertA(clauses: Sequence<<ERROR CLASS>>): MutableTheory
Content copied to clipboard
Adds given clause before all other clauses in this theory
Link copied to clipboard
abstract override fun assertZ(clauses: Iterable<<ERROR CLASS>>): MutableTheory
Content copied to clipboard
abstract override fun assertZ(clauses: Sequence<<ERROR CLASS>>): MutableTheory
Content copied to clipboard
Adds given clause after all other clauses in this theory
Link copied to clipboard
Link copied to clipboard
Checks if given clause is contained in this theory
Checks if clauses exists in this theory having the specified Indicator as head; this should be Indicator.isWellFormed
Checks if given clause is present in this theory
Link copied to clipboard
abstract operator fun get(clause: <ERROR CLASS>): Sequence<<ERROR CLASS>>
Content copied to clipboard
Retrieves matching clauses from this theory
abstract operator fun get(indicator: <ERROR CLASS>): Sequence<<ERROR CLASS>>
Content copied to clipboard
Retrieves all rules in this theory having the specified Indicator as head; this should be Indicator.isWellFormed
Retrieves matching rules from this theory
Link copied to clipboard
Adds given Theory to this
Link copied to clipboard
Link copied to clipboard
abstract override fun retract(clause: <ERROR CLASS>): RetractResult<MutableTheory>
Content copied to clipboard
open override fun retract(head: <ERROR CLASS>): RetractResult<MutableTheory>
Content copied to clipboard
abstract override fun retract(clauses: Iterable<<ERROR CLASS>>): RetractResult<MutableTheory>
Content copied to clipboard
abstract override fun retract(clauses: Sequence<<ERROR CLASS>>): RetractResult<MutableTheory>
Content copied to clipboard
Tries to delete a matching clause from this theory
Link copied to clipboard
abstract override fun retractAll(clause: <ERROR CLASS>): RetractResult<MutableTheory>
Content copied to clipboard
open override fun retractAll(head: <ERROR CLASS>): RetractResult<MutableTheory>
Content copied to clipboard
Tries to delete all matching clauses from this theory
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
An enhanced toString that prints the theory in a Prolog program format, if asPrologText is true