TSPLIB
|
Validates an travelling salesman problem instance. More...
#include <iostream>
#include <xercesc/util/XMLException.hpp>
#include <xercesc/util/OutOfMemoryException.hpp>
#include "ValidateConstantsFunctionsAndClasses.hpp"
#include "ValidateIO.hpp"
#include "ValidateInstance.hpp"
Go to the source code of this file.
Functions | |
XERCES_CPP_NAMESPACE_USE int | main (int argc, char *argv[]) |
Validates an travelling salesman problem instance.
Validates an travelling salesman problem instance.
Definition in file Validate.cpp.
XERCES_CPP_NAMESPACE_USE int main | ( | int | argc, |
char * | argv[] | ||
) |
The main function.
argc | Number of elements in the array argv, in particular 1 or 2. |
argv | Name of the running program or name of the running program, name of the input file. |
Definition at line 37 of file Validate.cpp.
References Instance::getDescription(), Instance::getGraph(), Graph::getIsUndirected(), Graph::getN(), Instance::getName(), Instance::getSource(), instanceIn(), and parseCommandLineArguments().