Samchon Framework for CPP
1.0.0
|
A scheduler. More...
#include <Scheduler.hpp>
Public Member Functions | |
Scheduler () | |
Default Constructor. More... | |
Scheduler (shared_ptr< Travel > travel, const struct GAParameters &gaParameteres) | |
Construct from points and parameter of genetic algorithm. More... | |
auto | optimize () -> shared_ptr< Travel > |
Derive optimized schedule. More... | |
Public Member Functions inherited from samchon::protocol::Entity<> | |
virtual auto | key () const -> std::string |
Get a key that can identify the Entity uniquely. More... | |
Protected Attributes | |
shared_ptr< Travel > | travel |
A travel to optimize or optimized. More... | |
struct GAParameters | gaParameters |
Parameters for Genetic-Algorithm. More... | |
A scheduler.
Scheduler deducts an optimal schdule(Travel) by genetic algorithm.
Definition at line 44 of file Scheduler.hpp.
|
inline |
Default Constructor.
Definition at line 68 of file Scheduler.hpp.
|
inline |
Construct from points and parameter of genetic algorithm.
Definition at line 78 of file Scheduler.hpp.
|
inline |
Derive optimized schedule.
Definition at line 105 of file Scheduler.hpp.
References samchon::library::GeneticAlgorithm< GeneArray, Compare >::evolveGeneArray(), and optimize().
Referenced by optimize().
|
protected |
A travel to optimize or optimized.
Definition at line 54 of file Scheduler.hpp.
|
protected |
Parameters for Genetic-Algorithm.
Definition at line 59 of file Scheduler.hpp.