about summary refs log tree commit diff stats
path: root/tracker_state.h
diff options
context:
space:
mode:
Diffstat (limited to 'tracker_state.h')
-rw-r--r--tracker_state.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/tracker_state.h b/tracker_state.h new file mode 100644 index 0000000..879e6f2 --- /dev/null +++ b/tracker_state.h
@@ -0,0 +1,19 @@
1#ifndef TRACKER_STATE_H_8639BC90
2#define TRACKER_STATE_H_8639BC90
3
4#include <map>
5#include <tuple>
6
7class TrackerState {
8 public:
9 void CalculateState();
10
11 bool IsLocationReachable(int area_id, int section_id);
12
13 private:
14 std::map<std::tuple<int, int>, bool> reachability_;
15};
16
17TrackerState& GetTrackerState();
18
19#endif /* end of include guard: TRACKER_STATE_H_8639BC90 */