Class EnvironmentOptions contains environment and algoritms parameters. More...
#include <EnvironmentOptions.h>
Public Member Functions | |
EnvironmentOptions ()=default | |
EnvironmentOptions default constructor. More... | |
EnvironmentOptions (const EnvironmentOptions &obj) | |
EnvironmentOptions copy constructor. More... | |
EnvironmentOptions (int mt, bool bt, bool as, bool cc, float hw, float ts, float del) | |
EnvironmentOptions constructor with parametes. More... | |
Public Attributes | |
bool | allowsqueeze |
Option that allows to move through "bottleneck". More... | |
bool | breakingties |
Option that defines the priority in OPEN list for nodes with equal f-values. More... | |
bool | cutcorners |
Option that allows to make diagonal moves, when one adjacent cell is untraversable. More... | |
float | delta |
Option that defines max distance to goal position, which is considered as reaching the goal position. More... | |
float | hweight |
Option that defines the weight of the heuristic function. More... | |
int | metrictype |
Heurostic type for Theta*. Can be chosen Diagonal (0), Manhattan (1), Euclidean (2), Chebyshev (3) distance. More... | |
float | timestep |
Option that defines time per one step of simulation. More... | |
Class EnvironmentOptions contains environment and algoritms parameters.
Definition at line 15 of file EnvironmentOptions.h.
|
default |
EnvironmentOptions default constructor.
EnvironmentOptions::EnvironmentOptions | ( | const EnvironmentOptions & | obj | ) |
EnvironmentOptions copy constructor.
obj | Object to copy. |
Definition at line 9 of file EnvironmentOptions.cpp.
EnvironmentOptions::EnvironmentOptions | ( | int | mt, |
bool | bt, | ||
bool | as, | ||
bool | cc, | ||
float | hw, | ||
float | ts, | ||
float | del | ||
) |
EnvironmentOptions constructor with parametes.
mt | Heurostic type for Theta*. Can be chosen Diagonal (0), Manhattan (1), Euclidean (2), Chebyshev (3) distance. |
bt | Option that defines the priority in OPEN list for nodes with equal f-values. |
as | Option that allows to move through "bottleneck" |
cc | Option that allows to make diagonal moves, when one adjacent cell is untraversable. |
hw | Option that defines the weight of the heuristic function. |
ts | Option that defines time per one step of simulation. |
del | Option that defines max distance to goal position, which is considered as reaching the goal position |
Definition at line 21 of file EnvironmentOptions.cpp.
bool EnvironmentOptions::allowsqueeze |
Option that allows to move through "bottleneck".
Definition at line 43 of file EnvironmentOptions.h.
bool EnvironmentOptions::breakingties |
Option that defines the priority in OPEN list for nodes with equal f-values.
Definition at line 42 of file EnvironmentOptions.h.
bool EnvironmentOptions::cutcorners |
Option that allows to make diagonal moves, when one adjacent cell is untraversable.
Definition at line 44 of file EnvironmentOptions.h.
float EnvironmentOptions::delta |
Option that defines max distance to goal position, which is considered as reaching the goal position.
Definition at line 47 of file EnvironmentOptions.h.
float EnvironmentOptions::hweight |
Option that defines the weight of the heuristic function.
Definition at line 45 of file EnvironmentOptions.h.
int EnvironmentOptions::metrictype |
Heurostic type for Theta*. Can be chosen Diagonal (0), Manhattan (1), Euclidean (2), Chebyshev (3) distance.
Definition at line 41 of file EnvironmentOptions.h.
float EnvironmentOptions::timestep |
Option that defines time per one step of simulation.
Definition at line 46 of file EnvironmentOptions.h.