Class conflict_checker
Defined in File conflict_checker.hpp
Nested Relationships
Nested Types
Class Documentation
-
class conflict_checker
Checker for various kinds of spatial conflicts in the arena. Prior to creating this class, the checking functions were scattered all over in various utils:: namespaces. Much better to have them all centralized.
Public Types
Public Functions
-
conflict_checker(conflict_checker&&) = delete
-
conflict_checker(const conflict_checker&) = delete
-
conflict_checker &operator=(conflict_checker&&) = delete
-
const conflict_checker &operator=(const conflict_checker&) = delete
Public Static Functions
-
static status placement2D(const carena::base_arena_map *map, const crepr::sim_block3D *block, const rmath::vector2d &loc)
Check for conflict if the specified block is placed at the specified location in the arena.
The following are checked:
Within arena distributable area (not near boundaries, which can causing problems with robot block acquisition).
Overlap with all other blocks.
Overlap with all nests.
-
static status placement2D(const carena::caching_arena_map *map, const crepr::sim_block3D *block, const rmath::vector2d &loc)
Check for conflict if the specified block is placed at the specified location in the arena.
The following are checked:
Within arena distributable area (not near boundaries, which can causing problems with robot block acquisition).
Overlap with all other blocks.
Overlap with all nests.
Overlap with all caches.
-
struct status
-
conflict_checker(conflict_checker&&) = delete