mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-09 21:50:45 +01:00
Hadrons: genetic minimum value type fix
This commit is contained in:
parent
81050535a5
commit
6b8ffbe735
@ -57,7 +57,7 @@ public:
|
|||||||
virtual ~GeneticScheduler(void) = default;
|
virtual ~GeneticScheduler(void) = default;
|
||||||
// access
|
// access
|
||||||
const Gene & getMinSchedule(void);
|
const Gene & getMinSchedule(void);
|
||||||
int getMinValue(void);
|
V getMinValue(void);
|
||||||
// breed a new generation
|
// breed a new generation
|
||||||
void nextGeneration(void);
|
void nextGeneration(void);
|
||||||
// heuristic benchmarks
|
// heuristic benchmarks
|
||||||
@ -116,7 +116,7 @@ GeneticScheduler<V, T>::getMinSchedule(void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
template <typename V, typename T>
|
template <typename V, typename T>
|
||||||
int GeneticScheduler<V, T>::getMinValue(void)
|
V GeneticScheduler<V, T>::getMinValue(void)
|
||||||
{
|
{
|
||||||
return population_.begin()->first;
|
return population_.begin()->first;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user