Transit Planner  1.0
An experiment on transfer patterns robustness
Classes | Public Types | Public Member Functions | Friends
GtfsParser Class Reference

List of all members.

Classes

struct  Data
struct  Frequency

Public Types

typedef dense_hash_map< string,
vector< Frequency > > 
FrequencyMap
typedef boost::tuple
< std::bitset< 7 >, int, int > 
Activity
typedef dense_hash_map< string,
Activity > 
ActivityMap

Public Member Functions

 GtfsParser (Logger *log=NULL)
GtfsParseroperator= (const GtfsParser &other)
string parseName (const string &gtfsDir)
string parseName (const vector< string > &gtfsDirs, const string &startTimeStr, const string &endTimeStr, TransitNetwork *network=NULL)
TransitNetwork createTransitNetwork (const string &gtfsDir, const string &startTimeStr, const string &endTimeStr, vector< Line > *lines=NULL)
TransitNetwork createTransitNetwork (const vector< string > &gtfsDirs, const string &startTimeStr, const string &endTimeStr, vector< Line > *lines=NULL)
void parseGtfs (const string &gtfsDirectory, TransitNetwork *network)
void translateLastTripsToNetwork (const string &startTimeStr, const string &endTimeStr, TransitNetwork *network, vector< Trip > *trips=NULL)
int removeInterTripArcs (TransitNetwork *network) const
bool save (const TransitNetwork &network, const string &filename)
bool load (const string &filename, TransitNetwork *network)
void logger (Logger *const log)
const GtfsParser::Datadata () const

Friends

class ScenarioGenerator

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