MinLCA algorithms
|
Class for timing MinLCA optimisation algorithms. More...
#include <optimisation-profiler.hh>
Public Member Functions | |
template<typename... Args> | |
MinLCAOptProfiler (Args &&...args) | |
Constructor. More... | |
virtual void | initialSolution (const typename LCAOpt::Colouring &c) |
double | initialSolutionTime () |
Retrieve the duration of setting the initial solution. More... | |
![]() | |
MinLCAProfiler (Args &&...args) | |
Constructor. More... | |
void | init (Args &&...args) |
virtual MinLCAStatus | run () |
double | runTime () |
Retrieve the duration of running the algorithm. More... | |
double | initTime () |
Retrieve the duration of initialising the algorithm. More... | |
double | creationTime () |
Retrieve the duration of instantiating the algorithm class. More... | |
Protected Types | |
typedef MinLCAProfiler< LCAOpt > | ProfilerBase |
Base profiler. | |
typedef LCAOpt | Base |
Base MinLCA class. | |
![]() | |
typedef LCAOpt | Base |
Protected Attributes | |
double | _initial_sol_time |
Duration of setting initial solution. | |
![]() | |
utils::Timer | _t |
Timer used to count the durations. | |
double | _creation_time |
Duration of object creation. | |
double | _init_time |
Duration of algorithm initialisation. | |
double | _run_time |
Duration of algorithm running. | |
Class for timing MinLCA optimisation algorithms.
Definition at line 15 of file optimisation-profiler.hh.
|
inline |
Constructor.
args | Arguments for the constructor. They depend on the LCAOpt class. |
Definition at line 27 of file optimisation-profiler.hh.
|
inline |
Retrieve the duration of setting the initial solution.
Definition at line 46 of file optimisation-profiler.hh.