Djinni
2.2
|
A class representing an instance of the Traveling Salesman Problem with Time Windows. More...
#include <TSPTWWorld.h>
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 |
A class representing an instance of the Traveling Salesman Problem with Time Windows.
Definition at line 90 of file TSPTWWorld.h.