summaryrefslogtreecommitdiff
path: root/src/intersim/traffic.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/intersim/traffic.hpp')
-rw-r--r--src/intersim/traffic.hpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/intersim/traffic.hpp b/src/intersim/traffic.hpp
new file mode 100644
index 0000000..c0a796c
--- /dev/null
+++ b/src/intersim/traffic.hpp
@@ -0,0 +1,15 @@
+#ifndef _TRAFFIC_HPP_
+#define _TRAFFIC_HPP_
+
+#include "config_utils.hpp"
+
+typedef int (*tTrafficFunction)( int, int );
+
+void InitializeTrafficMap( );
+
+void ResetTraffic( );
+void StepTrafficFunctions( );
+
+tTrafficFunction GetTrafficFunction( const Configuration& config );
+
+#endif