TSPLIB
Functions
src/ValidateInstance.cpp File Reference

Defines the class Instance. More...

#include <cmath>
#include "ValidateInstance.hpp"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, Instance &instance)

Detailed Description

Defines the class Instance.

Defines the class Instance which saves one instance of the travelling salesman problem with the underlying graph in the form of a weighted complete graph. The defined class provides no checks of ranges.

Author:
Ulrich Pferschy and Rostislav Stanek (Institut fuer Statistik und Operations Research, Universitaet Graz)

Definition in file ValidateInstance.cpp.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
Instance instance 
)

Implements the operator "<<".

Parameters:
osOstream.
instanceInstance.
Returns:
Ostream with the information about the instance instance.

Definition at line 107 of file ValidateInstance.cpp.

References Instance::getDescription(), Instance::getDoublePrecision(), Instance::getDoubleZero(), Instance::getGraph(), Instance::getIgnoredDigits(), Instance::getName(), and Instance::getSource().

 All Classes Files Functions Variables Friends Defines