00001
00002
00003
00004 #ifndef ROUTEPLANNING_LIVECONNECTION_H_
00005 #define ROUTEPLANNING_LIVECONNECTION_H_
00006
00007 #include "./EdgeDependent.h"
00008
00009 enum NetworkType
00010 {
00011 ROADNETWORK, TRANSITNETWORK, UNKNOWN
00012 };
00013
00014 class LiveConnection
00015 {
00016 public:
00017 Connection connection;
00018 NetworkType destinationType;
00019 int toNodeId;
00020 size_t time;
00021 size_t transfers;
00022
00023
00024
00025 bool tripBeforeEnded;
00026 LiveConnection(const Connection& connection, NetworkType destinationType,
00027 int destinationNodeId,
00028 size_t time, size_t transfers, bool tripBeforeEnded);
00029 };
00030
00031 #endif // ROUTEPLANNING_LIVECONNECTION_H_
00032