Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef _CONVERT_TO_ASTAR_MAP_H__
- #define _CONVERT_TO_ASTAR_MAP_H__ 1
- #include <Windows.h>
- #include <string>
- #include <utility>
- #include <vector>
- /**
- *
- */
- struct max { int negative; int positive; };
- class ConvertToAStarMap
- {
- private:
- /**
- *
- */
- std::vector<std::string> split(std::string strToSplit, char delimeter);
- /**
- *
- */
- std::pair<max, max> GetLimits(const std::string& cells);
- /**
- *
- */
- std::string GenerateAStarMap(const std::string& map, std::pair<max, max> pairs, const std::string& output_file);
- /**
- *
- */
- std::string TruncateMap(const std::string& robot_map);
- public:
- /**
- *
- */
- std::string Convert(const std::string& map, const std::string& output_file);
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement