Class: Smith::Workflow::EvaluatorOptimizer::OptimizationState
- Inherits:
-
Struct
- Object
- Struct
- Smith::Workflow::EvaluatorOptimizer::OptimizationState
- Defined in:
- lib/smith/workflow/evaluator_optimizer.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.
9 10 11 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 9 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
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def candidate @candidate end |
#config ⇒ Object
Returns the value of attribute config
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def config @config end |
#evaluator_class ⇒ Object
Returns the value of attribute evaluator_class
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def evaluator_class @evaluator_class end |
#feedback ⇒ Object
Returns the value of attribute feedback
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def feedback @feedback end |
#generator_class ⇒ Object
Returns the value of attribute generator_class
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def generator_class @generator_class end |
#last_score ⇒ Object
Returns the value of attribute last_score
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def last_score @last_score end |
#prepared_input ⇒ Object
Returns the value of attribute prepared_input
6 7 8 |
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6 def prepared_input @prepared_input end |