Hello,

I'm using a BAB search. I'm using this function to dispaly the stats:

------------------------------------------------------------------------------------------------

void printStatsGecode(const Gecode::Search::Statistics& stat) {
std::cout << "Search Statistics" << std::endl;
std::cout << "  Propagations: " << stat.propagate << std::endl;
std::cout << "  Nodes:        " << stat.node << std::endl;
std::cout << "  Failures:     " << stat.fail << std::endl;
std::cout << "  Depth:        " << stat.depth << std::endl;
//std::cout << "  Time:        " <<  stat.time() << std::endl;
std::cout << std::endl;
cout << endl;
}
-----------------------------------------------------------------------------------------------


My problem is that i can not display the running time. There is an issue with 
the methode time().


Could anyone help me to display the running time??


Cheers.
_______________________________________________
Gecode users mailing list
users@gecode.org
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to