Class: Smith::Workflow::EvaluatorOptimizer::OptimizationState

Inherits:
Struct
  • Object
show all
Defined in:
lib/smith/workflow/evaluator_optimizer.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#candidateObject

Returns the value of attribute candidate

Returns:

  • (Object)

    the current value of candidate



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def candidate
  @candidate
end

#configObject

Returns the value of attribute config

Returns:

  • (Object)

    the current value of config



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def config
  @config
end

#evaluator_classObject

Returns the value of attribute evaluator_class

Returns:

  • (Object)

    the current value of evaluator_class



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def evaluator_class
  @evaluator_class
end

#feedbackObject

Returns the value of attribute feedback

Returns:

  • (Object)

    the current value of feedback



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def feedback
  @feedback
end

#generator_classObject

Returns the value of attribute generator_class

Returns:

  • (Object)

    the current value of generator_class



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def generator_class
  @generator_class
end

#last_scoreObject

Returns the value of attribute last_score

Returns:

  • (Object)

    the current value of last_score



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def last_score
  @last_score
end

#prepared_inputObject

Returns the value of attribute prepared_input

Returns:

  • (Object)

    the current value of prepared_input



6
7
8
# File 'lib/smith/workflow/evaluator_optimizer.rb', line 6

def prepared_input
  @prepared_input
end