Transit Planner
1.0
An experiment on transfer patterns robustness
|
Public Member Functions | |
Server (const int port, const string &dataDir, const string &workDir, const string &logPath) | |
void | loadGtfs (const string &path, const int startTime, const int endTime) |
void | loadGtfs (const vector< string > &paths, const int startTime, const int endTime) |
void | precompute () |
void | precomputeHubs () |
void | precomputeTransferPatterns () |
void | run () |
TransitNetwork & | network () |
TransitNetwork & | scenario () |
void | scenario (const TransitNetwork &scenario) |
bool | scenarioSet () |
void | scenarioSet (bool value) |
TransferPatternRouter & | router () |
int | maxWorkers () const |
void | maxWorkers (const int n) |
string | dataDir () const |
string | workDir () const |
int | port () const |
void | reserveWorker () |
void | joinWorkers (const int numBusy=0) |
Static Public Member Functions | |
static string | retrieveQuery (const string &request) |
static string | retrieveCommand (const string &query) |
static StrStrMap | retrieveArgs (const string &query, const string &workDir) |
Friends | |
class | Worker |