Explanation::ReasoningStep
Inherits Struct < Value < Object
A single step in a reasoning chain
Constructors
new(step_type : StepType, premise : String, conclusion : String, confidence : Float64 = 1.0, rule_applied : String = "")
Instance methods
conclusion
confidence
premise
rule_applied
step_type
to_s
Returns a nicely readable and concise string representation of this object, typically intended for users.
This method should usually not be overridden. It delegates to
#to_s(IO) which can be overridden for custom implementations.
Also see #inspect.