Class: Smith::Workflow::OptimizationState
- Inherits:
-
Struct
- Object
- Struct
- Smith::Workflow::OptimizationState
- Defined in:
- lib/smith/workflow/optimization_state.rb
Instance Attribute Summary collapse
-
#candidate ⇒ Object
Returns the value of attribute candidate.
-
#config ⇒ Object
Returns the value of attribute config.
-
#evaluator_class ⇒ Object
Returns the value of attribute evaluator_class.
-
#feedback ⇒ Object
Returns the value of attribute feedback.
-
#generator_class ⇒ Object
Returns the value of attribute generator_class.
-
#last_score ⇒ Object
Returns the value of attribute last_score.
-
#prepared_input ⇒ Object
Returns the value of attribute prepared_input.
Instance Method Summary collapse
-
#initialize(config, prepared_input) ⇒ OptimizationState
constructor
A new instance of OptimizationState.
Constructor Details
#initialize(config, prepared_input) ⇒ OptimizationState
Returns a new instance of OptimizationState.
8 9 10 |
# File 'lib/smith/workflow/optimization_state.rb', line 8 def initialize(config, prepared_input) super(config, prepared_input, nil, nil, nil, nil, nil) end |
Instance Attribute Details
#candidate ⇒ Object
Returns the value of attribute candidate
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def candidate @candidate end |
#config ⇒ Object
Returns the value of attribute config
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def config @config end |
#evaluator_class ⇒ Object
Returns the value of attribute evaluator_class
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def evaluator_class @evaluator_class end |
#feedback ⇒ Object
Returns the value of attribute feedback
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def feedback @feedback end |
#generator_class ⇒ Object
Returns the value of attribute generator_class
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def generator_class @generator_class end |
#last_score ⇒ Object
Returns the value of attribute last_score
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def last_score @last_score end |
#prepared_input ⇒ Object
Returns the value of attribute prepared_input
5 6 7 |
# File 'lib/smith/workflow/optimization_state.rb', line 5 def prepared_input @prepared_input end |