[gecode-users] integrate a new search strategy in Gecode
Christian Schulte
cschulte at kth.se
Tue Jan 25 16:43:05 CET 2011
Please learn something about namespaces in C++.
What you want to do does not require to modify Gecode in any way or form.
Christian
--
Christian Schulte, www.ict.kth.se/~cschulte/
From: users-bounces at gecode.org [mailto:users-bounces at gecode.org] On Behalf
Of sami sami1
Sent: Tuesday, January 25, 2011 4:37 PM
To: users at gecode.org
Subject: [gecode-users] integrate a new search strategy in Gecode
but we have a problem in Librairy Gecode, I know
thank you for this information
I would create a new search strategy NOUVSEARCH like DFS,BAB..., so it must
add or create a new file nouvsearch.cpp in gecode/search.
In gecode/search there are:
dfs.cpp bab.cpp nouvsearch.cpp
after, I'll take an example of Gecode as money.cpp
in the line "run":
Script::run<Money,DFS,Options>(opt);
I replace DFS by NOUVSEARCH like this:
Script::run<Money,NOUVSEARCH,Options>(opt);
but we have a problem in Librairy Gecode, I know
how i resourd this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gecode.org/pipermail/users/attachments/20110125/b61b60bc/attachment.htm>
More information about the users
mailing list