#include <costs_evaluator.hpp>
Public Member Functions | |
CostsEvaluator (std::shared_ptr< MapData > &_mapDataPtr) | |
CostsEvaluator (const CostsEvaluator &)=default | |
CostsEvaluator (CostsEvaluator &&)=default | |
bool | evalValidCostStep (const CostEvaluatorCostType &_arrayType, double _arcNow, size_t &_violatingLatIdx, double &_arcMax) override |
void | init (std::vector< std::shared_ptr< Lattice >> &_lattPtr) override |
std::shared_ptr< MapData > & | mapDataPtr () |
CostsEvaluator & | operator= (const CostsEvaluator &)=default |
CostsEvaluator & | operator= (CostsEvaluator &&)=default |
void | resetCostFunctions (const CostEvaluatorCostType &_arrayType) override |
virtual | ~CostsEvaluator ()=default |
Public Member Functions inherited from tuw::CostsEvaluatorBase< Lattice > | |
CostsEvaluatorBase () | |
CostsEvaluatorBase (const CostsEvaluatorBase &)=default | |
CostsEvaluatorBase (CostsEvaluatorBase &&)=default | |
void | evaluateAllCosts () |
void | evaluateF () |
void | evaluateG () |
void | evaluateH () |
bool | gIsValid (const double &_boxBound=1e-2) const |
bool | gIsValid (const size_t _Idx, const double &_boxBound=1e-2) const |
bool | hIsValid () const |
virtual void | loadCostFunctions ()=0 |
CostsEvaluatorBase & | operator= (const CostsEvaluatorBase &)=default |
CostsEvaluatorBase & | operator= (CostsEvaluatorBase &&)=default |
virtual | ~CostsEvaluatorBase ()=default |
Public Attributes | |
std::vector< std::vector< std::unique_ptr< cost_functions::CostsArrayLatBase< Lattice, MapData > > > > | partialCostsArray_ |
Public Attributes inherited from tuw::CostsEvaluatorBase< Lattice > | |
double | f |
std::vector< double > | g |
std::vector< double > | gradF |
Eigen::MatrixXd | gradG |
Eigen::MatrixXd | gradH |
std::vector< double > | h |
Protected Member Functions | |
void | computeArrayCost (std::vector< double > &_arr, const CostEvaluatorCostType &_arrayType) override |
void | computeScalarCost (double &_f) |
Private Attributes | |
bool | firstAfterReset_ |
std::shared_ptr< MapData > | mapDataPtr_ |
Definition at line 186 of file costs_evaluator.hpp.
|
inline |
Definition at line 189 of file costs_evaluator.hpp.
|
virtualdefault |
|
default |
|
default |
|
inlineoverrideprotectedvirtual |
Implements tuw::CostsEvaluatorBase< Lattice >.
Definition at line 249 of file costs_evaluator.hpp.
|
inlineprotectedvirtual |
Implements tuw::CostsEvaluatorBase< Lattice >.
Definition at line 227 of file costs_evaluator.hpp.
|
inlineoverridevirtual |
Implements tuw::CostsEvaluatorBase< Lattice >.
Definition at line 292 of file costs_evaluator.hpp.
|
inlineoverridevirtual |
Implements tuw::CostsEvaluatorBase< Lattice >.
Definition at line 210 of file costs_evaluator.hpp.
|
inline |
Definition at line 346 of file costs_evaluator.hpp.
|
default |
|
default |
|
inlineoverridevirtual |
Implements tuw::CostsEvaluatorBase< Lattice >.
Definition at line 279 of file costs_evaluator.hpp.
|
private |
Definition at line 355 of file costs_evaluator.hpp.
|
private |
Definition at line 352 of file costs_evaluator.hpp.
std::vector<std::vector<std::unique_ptr<cost_functions::CostsArrayLatBase<Lattice, MapData> > > > tuw::CostsEvaluator< Lattice, MapData >::partialCostsArray_ |
Definition at line 343 of file costs_evaluator.hpp.