EnvironmentOptions.cpp
Go to the documentation of this file.
1 
7 #include "EnvironmentOptions.h"
8 
10 {
11  this->metrictype = obj.metrictype;
12  this->breakingties = obj.breakingties;
13  this->allowsqueeze = obj.allowsqueeze;
14  this->cutcorners = obj.cutcorners;
15  this->timestep = obj.timestep;
16  this->delta = obj.delta;
17  this->hweight = obj.hweight;
18 }
19 
20 
21 EnvironmentOptions::EnvironmentOptions(int mt, bool bt, bool as, bool cc, float hw, float ts, float del)
22  :metrictype(mt), breakingties(bt), allowsqueeze(as), cutcorners(cc), hweight(hw), timestep(ts), delta(del) {}
EnvironmentOptions()=default
EnvironmentOptions default constructor.
float hweight
Option that defines the weight of the heuristic function.
float delta
Option that defines max distance to goal position, which is considered as reaching the goal position...
bool breakingties
Option that defines the priority in OPEN list for nodes with equal f-values.
Class EnvironmentOptions contains environment and algoritms parameters.
bool cutcorners
Option that allows to make diagonal moves, when one adjacent cell is untraversable.
File contains EnvironmentOptions class.
float timestep
Option that defines time per one step of simulation.
int metrictype
Heurostic type for Theta*. Can be chosen Diagonal (0), Manhattan (1), Euclidean (2), Chebyshev (3) distance.
bool allowsqueeze
Option that allows to move through "bottleneck".


ORCAStar
Author(s): Stepan Drgachev
autogenerated on Wed Jul 15 2020 16:13:14