MicroMouse Maze Library
3703225
|
迷路探索ライブラリはすべてこの名前空間に格納されている。 [詳解]
クラス | |
class | Direction |
迷路上の方向を表す。 [詳解] | |
struct | Position |
迷路の区画の位置(座標)を定義。 [詳解] | |
struct | Pose |
Position と Direction をまとめた型。位置姿勢。 [詳解] | |
struct | WallIndex |
区画ベースではなく、壁ベースの管理ID [詳解] | |
struct | WallRecord |
区画位置、方向、壁の有無を保持する構造体。 [詳解] | |
class | Maze |
迷路の壁情報を管理するクラス [詳解] | |
class | StepMap |
区画ベースのステップマップを管理するクラス [詳解] | |
型定義 | |
using | Directions = std::vector< Direction > |
Direction 構造体の動的配列、集合 [詳解] | |
using | Positions = std::vector< Position > |
Position 構造体の動的配列、集合 [詳解] | |
using | WallIndexes = std::vector< WallIndex > |
WallIndex の動的配列、集合 [詳解] | |
using | WallRecords = std::vector< WallRecord > |
WallRecord 構造体の動的配列の定義 [詳解] | |
関数 | |
std::ostream & | operator<< (std::ostream &os, const Directions &obj) |
Directions の stream 表示 [詳解] | |
std::ostream & | operator<< (std::ostream &os, const Position p) |
std::ostream & | operator<< (std::ostream &os, const Pose &pose) |
std::ostream & | operator<< (std::ostream &os, const WallIndex i) |
std::ostream & | operator<< (std::ostream &os, const WallRecord &obj) |
static StepMap::step_t | calcStraightCost (const int i, const float am, const float vs, const float vm, const float seg) |
台形加速を考慮したコストを生成する関数 [詳解] | |
変数 | |
static constexpr int | MAZE_SIZE = 16 |
迷路の1辺の区画数の定数。 [詳解] | |
static constexpr int | MAZE_SIZE_BIT = std::ceil(std::log2(MAZE_SIZE)) |
迷路の1辺の区画数の bit 数。bit shift などに用いる。 [詳解] | |
static constexpr int | MAZE_SIZE_MAX = std::pow(2, MAZE_SIZE_BIT) |
迷路の1辺の区画数の最大値。2のbit数乗の値。 [詳解] | |
迷路探索ライブラリはすべてこの名前空間に格納されている。
using MazeLib::Directions = typedef std::vector<Direction> |
Direction 構造体の動的配列、集合
using MazeLib::Positions = typedef std::vector<Position> |
Position 構造体の動的配列、集合
using MazeLib::WallIndexes = typedef std::vector<WallIndex> |
WallIndex の動的配列、集合
using MazeLib::WallRecords = typedef std::vector<WallRecord> |
WallRecord 構造体の動的配列の定義
|
static |
std::ostream & MazeLib::operator<< | ( | std::ostream & | os, |
const Directions & | obj | ||
) |
std::ostream& MazeLib::operator<< | ( | std::ostream & | os, |
const Pose & | pose | ||
) |
std::ostream& MazeLib::operator<< | ( | std::ostream & | os, |
const Position | p | ||
) |
std::ostream& MazeLib::operator<< | ( | std::ostream & | os, |
const WallIndex | i | ||
) |
std::ostream& MazeLib::operator<< | ( | std::ostream & | os, |
const WallRecord & | obj | ||
) |
|
staticconstexpr |
迷路の1辺の区画数の定数。
|
staticconstexpr |
迷路の1辺の区画数の bit 数。bit shift などに用いる。
|
staticconstexpr |
迷路の1辺の区画数の最大値。2のbit数乗の値。