Hi, I think you need to be more specific here. “Issue” as a description is not 
enough. Best Christian

--
Christian Schulte, https://chschulte.github.io/
Professor of Computer Science, KTH, cschu...@kth.se<mailto:cschu...@kth.se>
Expert Researcher, RISE SICS, 
christian.schu...@ri.se<mailto:christian.schu...@ri.se>

From: users-boun...@gecode.org [mailto:users-boun...@gecode.org] On Behalf Of 
Assia benziane
Sent: 16 February 2018 22:25
To: users@gecode.org
Subject: [gecode-users] BAB Search Stats


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