TSPLIB
|
Defines the functions necessary for the IO. More...
Go to the source code of this file.
Functions | |
std::string | parseCommandLineArguments (int argc, char *argv[]) |
Instance * | instanceIn (const std::string &inputFileName) |
Defines the functions necessary for the IO.
Defines the functions and classes necessary for the IO.
Definition in file ValidateIO.hpp.
Instance* instanceIn | ( | const std::string & | inputFileName | ) |
Reads one travelling salesman problem instance from the file inputFileName.
inputFileName | Name of the input file. |
Definition at line 121 of file ValidateIO.cpp.
References SAX2ContentHandler::getAdjacencyMatrix(), SAX2ContentHandler::getDescription(), SAX2ContentHandler::getDoublePrecision(), SAX2ErrorHandler::getFailed(), SAX2ContentHandler::getFailed(), SAX2ContentHandler::getIgnoredDigits(), SAX2ContentHandler::getName(), SAX2ContentHandler::getSource(), and VALIDATION_SCHEMA.
Referenced by main().
std::string parseCommandLineArguments | ( | int | argc, |
char * | argv[] | ||
) |
Parses the command-line arguments.
argc | Number of arguments. |
argv | Arguments. |
Definition at line 33 of file ValidateIO.cpp.
References INPUT_FILE_FILENAME_EXTENSION.
Referenced by main().