Djinni  2.2
Public Member Functions | Protected Member Functions | Protected Attributes
TSPTWWorld Class Reference

A class representing an instance of the Traveling Salesman Problem with Time Windows. More...

#include <TSPTWWorld.h>

Collaboration diagram for TSPTWWorld:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 TSPTWWorld (const std::string &filename)
 TSPTWWorld (const char *filename)
const Matrix< double, 2 > & travelTimes () const
const std::vector< double > & lowDeadlines () const
const std::vector< double > & deadlines () const
const Matrix< double, 2 > & data () const
 Returns a const-reference to the Matrix used to store this world's data.
Matrix< double, 2 > & data ()
 Returns a reference to the Matrix used to store this world's data.
const std::string & identifier () const
 Returns a const reference to the identifying string used for this World.

Protected Member Functions

virtual void computeTravelTimes ()

Protected Attributes

Matrix< double, 2 > _timeMatrix
Matrix< double, 2 > _matrix
std::vector< double > _lowdeadlines
std::vector< double > _deadlines
std::string _identifier

Detailed Description

A class representing an instance of the Traveling Salesman Problem with Time Windows.

Author:
Hansen, Ohlmann, Thomas
Since:
1.0

Definition at line 90 of file TSPTWWorld.h.


The documentation for this class was generated from the following files: