1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01:00

Hadrons: genetic minimum value type fix

This commit is contained in:
Antonin Portelli 2018-04-06 15:41:31 +01:00
parent 81050535a5
commit 6b8ffbe735

View File

@ -57,7 +57,7 @@ public:
virtual ~GeneticScheduler(void) = default;
// access
const Gene & getMinSchedule(void);
int getMinValue(void);
V getMinValue(void);
// breed a new generation
void nextGeneration(void);
// heuristic benchmarks
@ -116,7 +116,7 @@ GeneticScheduler<V, T>::getMinSchedule(void)
}
template <typename V, typename T>
int GeneticScheduler<V, T>::getMinValue(void)
V GeneticScheduler<V, T>::getMinValue(void)
{
return population_.begin()->first;
}