Package have been updated according to the tests under Windows
git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@1078 331e1502-861f-0410-8da2-ba01fb791d7f
This commit is contained in:
parent
f411abb53d
commit
ae4f880827
18 changed files with 83 additions and 160 deletions
|
|
@ -114,23 +114,8 @@ manage_configuration_file(eoParser & _parser)
|
|||
{
|
||||
std::ofstream os;
|
||||
|
||||
#ifdef _MSVC
|
||||
os.open("..\examples\tsp\benchs\berlin52.tsp");
|
||||
if(os.is_open())
|
||||
{
|
||||
_parser.createParam(std::string("..\examples\tsp\benchs\berlin52.tsp"), "instancePath", "Path to the instance.",
|
||||
0, "Configuration", false);
|
||||
}
|
||||
else
|
||||
{
|
||||
_parser.createParam(std::string("..\..\examples\tsp\benchs\berlin52.tsp"), "instancePath", "Path to the instance.",
|
||||
0, "Configuration", false);
|
||||
}
|
||||
os.close();
|
||||
#else
|
||||
_parser.createParam(std::string("../examples/tsp/benchs/berlin52.tsp"), "instancePath", "Path to the instance.",
|
||||
0, "Configuration", false);
|
||||
#endif
|
||||
|
||||
_parser.getORcreateParam((unsigned int)time(0), "seed", "Seed for rand.", 0, "Configuration", false);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue