class

PLN::PLNEngine

Inherits Reference < Object

PLN Reasoning Engine

Constructors

new(atomspace : AtomSpace::AtomSpace)

Instance methods

add_rule(rule : PLNRule)
backward_chain(goal : AtomSpace::Atom) : Bool

Backward chaining inference

forward_chain(target_type : AtomSpace::AtomType, max_steps : Int32 = 5) : Array(AtomSpace::Atom)

Forward chaining inference

reason(max_iterations : Int32 = 10) : Array(AtomSpace::Atom)