Simple space-inefficient row storage.
More...
|
size_t | GetMemoryUsage () const |
|
| RowRaw (int length) |
|
void | SetRange (int x0, int x1, bool obstruction) |
| Set cells x0 <= x < x1 to have jump point x1. More...
|
|
void | Get (int x, int &xp, bool &obstruction) const |
| Returns the coordinate of the next jump point xp (where x < xp), and whether it's an obstruction point or jump point. More...
|
|
void | Finish () |
|
Simple space-inefficient row storage.
◆ RowRaw()
JumpPointCache::RowRaw::RowRaw |
( |
int |
length | ) |
|
|
inline |
◆ Finish()
void JumpPointCache::RowRaw::Finish |
( |
| ) |
|
|
inline |
◆ Get()
void JumpPointCache::RowRaw::Get |
( |
int |
x, |
|
|
int & |
xp, |
|
|
bool & |
obstruction |
|
) |
| const |
|
inline |
Returns the coordinate of the next jump point xp (where x < xp), and whether it's an obstruction point or jump point.
◆ GetMemoryUsage()
size_t JumpPointCache::RowRaw::GetMemoryUsage |
( |
| ) |
const |
|
inline |
◆ SetRange()
void JumpPointCache::RowRaw::SetRange |
( |
int |
x0, |
|
|
int |
x1, |
|
|
bool |
obstruction |
|
) |
| |
|
inline |
Set cells x0 <= x < x1 to have jump point x1.
◆ data
std::vector<u16> JumpPointCache::RowRaw::data |
The documentation for this struct was generated from the following file:
- /home/docker/jenkins/workspace/technical-docs/source/simulation2/helpers/LongPathfinder.cpp