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.

35 lines
864 B

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