Class: Veritas::Optimizer::Function::Numeric::ConstantOperands

Inherits:
Veritas::Optimizer::Function::Numeric show all
Includes:
Binary, Binary::ConstantOperands
Defined in:
lib/veritas/optimizer/function/numeric.rb

Overview

Optimize when the operands are constants

Constant Summary

Constants inherited from Veritas::Optimizer

Noop, VERSION

Instance Attribute Summary

Attributes included from Binary

#left, #right

Attributes inherited from Veritas::Optimizer

#operation

Method Summary

Methods included from Binary::ConstantOperands

#optimizable?, #optimize

Methods included from Binary

#initialize

Methods inherited from Veritas::Optimizer

chain, #initialize, #optimizable?, #optimize