Companion

object Companion

Functions

Link copied to clipboard

Creates an empty MutableProblogTheory

Link copied to clipboard

Creates a MutableProblogTheory containing the given clauses

fun of(unificator: Unificator, clauses: Sequence<Clause>): MutableTheory
fun of(unificator: Unificator, vararg clauses: Clause): MutableTheory

Creates a MutableProblogTheory, containing the given clauses

fun of(unificator: Unificator, vararg clauses: Scope.() -> Clause): MutableTheory

Let developers easily create a MutableProblogTheory, while avoiding variables names clashing by using a different Scope for each Clause