You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
800 B

  1. #pragma once
  2. #include <string>
  3. #include <map>
  4. #include "cell.h"
  5. #define NOFAULT 3
  6. #define LEFT 0
  7. #define RIGHT 1
  8. #define FORWARD 2
  9. typedef std::string AgentName;
  10. typedef size_t ViewDirection;
  11. typedef std::pair<std::string, coordinates> AgentNameAndPosition;
  12. typedef AgentNameAndPosition KeyNameAndPosition;
  13. typedef std::map<AgentNameAndPosition::first_type, AgentNameAndPosition::second_type> AgentNameAndPositionMap;
  14. typedef std::map<KeyNameAndPosition::first_type, KeyNameAndPosition::second_type> KeyNameAndPositionMap;
  15. typedef std::pair<cell, std::string> CellAndCondition;
  16. typedef std::pair<float, std::string> update;
  17. typedef std::vector<update> updates;
  18. typedef int8_t ActionId;
  19. std::string capitalize(std::string string);
  20. namespace prism {
  21. enum class ModelType {
  22. MDP, SMG
  23. };
  24. }