1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-09 21:50:45 +01:00

Hadrons: genetic scheduler parameter fix

This commit is contained in:
Antonin Portelli 2016-06-06 17:46:53 +01:00
parent 8e2078be71
commit 0b731b5d80

View File

@ -127,7 +127,7 @@ void Application::schedule(void)
// constrained topological sort using a genetic algorithm // constrained topological sort using a genetic algorithm
LOG(Message) << "Scheduling computation..." << std::endl; LOG(Message) << "Scheduling computation..." << std::endl;
constexpr unsigned int maxGen = 2000000, maxCstGen = 2000000; constexpr unsigned int maxGen = 200, maxCstGen = 50;
unsigned int k = 0, gen, prevPeak, nCstPeak = 0; unsigned int k = 0, gen, prevPeak, nCstPeak = 0;
auto graph = env_.makeModuleGraph(); auto graph = env_.makeModuleGraph();
auto con = graph.getConnectedComponents(); auto con = graph.getConnectedComponents();