TSPLIB
Functions
src/ValidateGraph.cpp File Reference

Defines the class Graph. More...

#include "ValidateGraph.hpp"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &os, Graph &graph)

Detailed Description

Defines the class Graph.

Defines the class Graph which saves one 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 ValidateGraph.cpp.


Function Documentation

std::ostream& operator<< ( std::ostream &  os,
Graph graph 
)

Implements the operator "<<".

Parameters:
osOstream.
graphGraph.
Returns:
Ostream with the information about the graph instance.

Definition at line 117 of file ValidateGraph.cpp.

References Graph::getEdgeCost(), Graph::getIsUndirected(), and Graph::getN().

 All Classes Files Functions Variables Friends Defines