Class: Statkit::Spec::BaseExp
- Inherits:
-
Object
- Object
- Statkit::Spec::BaseExp
- Defined in:
- lib/statkit/specexp.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#add_input(input_chunk) ⇒ Object
add input for evaluation.
-
#evaluate ⇒ Object
evaluate with bulk input.
-
#streaming? ⇒ Boolean
return true if this expression is evaluated with streaming input.
Instance Method Details
#add_input(input_chunk) ⇒ Object
add input for evaluation
16 17 18 19 20 21 22 |
# File 'lib/statkit/specexp.rb', line 16 def add_input(input_chunk) if ! input_chunk.is_a?(Array) input_chunk = [input_chunk] end add_input_chunk(input_chunk) end |
#evaluate ⇒ Object
evaluate with bulk input
11 12 13 |
# File 'lib/statkit/specexp.rb', line 11 def evaluate() raise NotImplementedError.new end |
#streaming? ⇒ Boolean
return true if this expression is evaluated with streaming input
6 7 8 |
# File 'lib/statkit/specexp.rb', line 6 def streaming? false end |