LILAC
|
THis class represents the objective function class that calculates the score of a solution. More...
#include <objective.h>
Public Member Functions | |
virtual double | score (comp *invals)=0 |
virtual std::vector< std::string > | dependencies () const =0 |
virtual void | postprocess (input &inval)=0 |
![]() | |
size_t | get_dimension () const |
![]() | |
item () | |
virtual | ~item () |
virtual void | print () const |
Standard print function. | |
virtual void | update () |
virtual std::string | type () const =0 |
void | setname (const std::string n) |
void | set_write_name (std::string wname) |
const std::string & | name () const |
const std::string & | write_name () const |
Additional Inherited Members | |
![]() | |
static std::shared_ptr< item > | create (std::string name, engineimp *rval) |
![]() | |
engineimp * | holder |
![]() | |
void | print_upstream () |
virtual void | _do_mem_update (size_t dim_old) |
void | add_as_parent (item_dim *p) |
void | add_as_parent (std::shared_ptr< item_dim > p) |
void | update_dim (size_t dim_new) |
![]() | |
mempool | memp |
std::set< item_dim * > | children |
item_dim * | parent |
size_t | dimension |
THis class represents the objective function class that calculates the score of a solution.
Definition at line 22 of file objective.h.
|
pure virtual |
This function returns the dependencies of the objective class which are only the dependencies of item_dim
Implements item_dim.
Implemented in n_pulse_score.
Definition at line 25 of file objective.cpp.
|
pure virtual |
This does the postprocessing for objective, which simply calls item_dim::postprocess
invals | The map containing the postprocessed values |
Reimplemented from item_dim.
Implemented in n_pulse_score.
Definition at line 34 of file objective.cpp.
|
pure virtual |