GlobeEngine
REFBCommand.h
Go to the documentation of this file.
1 
9 #ifndef GlobeEngine_REFBCommand_h
10 #define GlobeEngine_REFBCommand_h
11 
12 #include <vector>
13 #include "OpenGL_Includes.h"
14 #include "BundlingCommand.h"
15 #include "TrafficObject.h"
16 #include "Timer.h"
17 
18 namespace geGIS {
19 
20  class CommuterObject;
21 
23  {
24  public:
25  REFBCommand();
26  ~REFBCommand();
27  void clear();
28  void processing(int _bundlingIdx = 0, std::shared_ptr<TrafficObject> _trafficGraph = 0L);
29  void setLinkState(bool _state);
30  bool isTrafficObjectSet();
31  void exportGraphRequests(std::string _path);
32  private:
33  using geGIS::BundlingCommand::processing; // implicitly hidden
34 
35  // reference graph
36  std::shared_ptr<TrafficObject> trafficNetwork;
37  int linkState;
38 
39  std::vector< NearestNeighborSearchResult* > nearestNeighborsPerPoint;
40  std::vector< std::vector<int> > shortestPathPerCommuterLine;
41 
42  //std::vector<int> shortestPathNotFound;
43  ge::Timer timer;
44  };
45 }
46 #endif
virtual void processing()
Definition: BundlingCommand.h:25
Definition: BundlingCommand.h:18
Definition: ClusterGrid.h:17
void exportGraphRequests(std::string _path)
Definition: REFBCommand.cpp:96
void setLinkState(bool _state)
Definition: REFBCommand.cpp:121
bool isTrafficObjectSet()
Definition: REFBCommand.cpp:126
Definition: REFBCommand.h:22
REFBCommand()
Definition: REFBCommand.cpp:6
void clear()
Definition: REFBCommand.cpp:16
Definition: Timer.h:17
~REFBCommand()
Definition: REFBCommand.cpp:11