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: [email protected] [mailto:[email protected]] On Behalf
Of sami sami1
Sent: Tuesday, January 25, 2011 4:37 PM
To: [email protected]
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?

 

_______________________________________________
Gecode users mailing list
[email protected]
https://www.gecode.org/mailman/listinfo/gecode-users

Reply via email to