about summary refs log tree commit diff stats
path: root/src/tracker_state.h
blob: 879e6f223118a4fa7661b287dc25b82dd633846c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef TRACKER_STATE_H_8639BC90
#define TRACKER_STATE_H_8639BC90

#include <map>
#include <tuple>

class TrackerState {
 public:
  void CalculateState();

  bool IsLocationReachable(int area_id, int section_id);

 private:
  std::map<std::tuple<int, int>, bool> reachability_;
};

TrackerState& GetTrackerState();

#endif /* end of include guard: TRACKER_STATE_H_8639BC90 */