Open pbplugge opened 7 years ago
In main.cpp line 167 parameter 2 should be 2. After i changed i get 1 generation:
==================================================================== Generation: 1, best fitness: 1.76667 Species: 1
ASSERT! ../src/MultiNEAT/Species.cpp, line 244: t_fitness >= 0 is false
terminate called after throwing an instance of 'std::exception' what(): std::exception
If i just remove the assert on line 244 in Species.cpp it goes for 389 generations with best fitness 3.98889. After which i get another error:
ASSERT! ../src/MultiNEAT/Population.cpp, line 377: t_oldbestid != -1 is false
terminate called after throwing an instance of 'std::exception' what(): std::exception
I get the message below when running your original c++ function main():
ASSERT! ../src/MultiNEAT/Genome.cpp, line 126: (a_NumInputs > 1) && (a_NumOutputs > 0) is false
terminate called after throwing an instance of 'std::exception' what(): std::exception