Class: LogicTools::NodeTrue

Inherits:
NodeValue show all
Defined in:
lib/logic_tools/logictree.rb

Overview

Represents a true node.

Instance Method Summary collapse

Methods inherited from NodeValue

#==, #eval, #get_variablesRecurse, #op, #to_s, #to_sym

Methods inherited from Node

#cover?, #distribute, #each, #each_line, #each_maxterm, #each_minterm, #eql?, #flatten, #flatten_deep, #get_variables, #hash, #include?, #inspect, #is_parent?, #op, #reduce, #simplify, #size, #to_cover, #to_std_conjunctive, #to_std_disjunctive, #to_sum_product, #to_sym

Constructor Details

#initializeNodeTrue

Creates as a NodeValue whose value is true.



357
358
359
# File 'lib/logic_tools/logictree.rb', line 357

def initialize
    super(true)
end