#include <costs_evaluator.hpp>

Public Member Functions | |
| CostsEvaluatorBase () | |
| CostsEvaluatorBase (const CostsEvaluatorBase &)=default | |
| CostsEvaluatorBase (CostsEvaluatorBase &&)=default | |
| void | evaluateAllCosts () |
| void | evaluateF () |
| void | evaluateG () |
| void | evaluateH () |
| virtual bool | evalValidCostStep (const CostEvaluatorCostType &_arrayType, double _arcNow, size_t &_violatingLatIdx, double &_arcMax)=0 |
| 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 | init (std::vector< std::shared_ptr< Lattice >> &_lattPtr)=0 |
| virtual void | loadCostFunctions ()=0 |
| CostsEvaluatorBase & | operator= (const CostsEvaluatorBase &)=default |
| CostsEvaluatorBase & | operator= (CostsEvaluatorBase &&)=default |
| virtual void | resetCostFunctions (const CostEvaluatorCostType &_arrayType)=0 |
| virtual | ~CostsEvaluatorBase ()=default |
Public Attributes | |
| double | f |
| std::vector< double > | g |
| std::vector< double > | gradF |
| Eigen::MatrixXd | gradG |
| Eigen::MatrixXd | gradH |
| std::vector< double > | h |
Protected Member Functions | |
| virtual void | computeArrayCost (std::vector< double > &_arr, const CostEvaluatorCostType &_arrayType)=0 |
| virtual void | computeScalarCost (double &_f)=0 |
Definition at line 58 of file costs_evaluator.hpp.
|
inline |
Definition at line 62 of file costs_evaluator.hpp.
|
virtualdefault |
|
default |
|
default |
|
protectedpure virtual |
Implemented in tuw::CostsEvaluator< Lattice, MapData >.
|
protectedpure virtual |
Implemented in tuw::CostsEvaluator< Lattice, MapData >.
|
inline |
Definition at line 119 of file costs_evaluator.hpp.
|
inline |
Definition at line 101 of file costs_evaluator.hpp.
|
inline |
Definition at line 113 of file costs_evaluator.hpp.
|
inline |
Definition at line 107 of file costs_evaluator.hpp.
|
pure virtual |
Implemented in tuw::CostsEvaluator< Lattice, MapData >.
|
inline |
Definition at line 144 of file costs_evaluator.hpp.
|
inline |
Definition at line 157 of file costs_evaluator.hpp.
|
inline |
Definition at line 127 of file costs_evaluator.hpp.
|
pure virtual |
Implemented in tuw::CostsEvaluator< Lattice, MapData >.
|
pure virtual |
|
default |
|
default |
|
pure virtual |
Implemented in tuw::CostsEvaluator< Lattice, MapData >.
| double tuw::CostsEvaluatorBase< Lattice >::f |
Definition at line 167 of file costs_evaluator.hpp.
| std::vector<double> tuw::CostsEvaluatorBase< Lattice >::g |
Definition at line 173 of file costs_evaluator.hpp.
| std::vector<double> tuw::CostsEvaluatorBase< Lattice >::gradF |
Definition at line 176 of file costs_evaluator.hpp.
| Eigen::MatrixXd tuw::CostsEvaluatorBase< Lattice >::gradG |
Definition at line 182 of file costs_evaluator.hpp.
| Eigen::MatrixXd tuw::CostsEvaluatorBase< Lattice >::gradH |
Definition at line 179 of file costs_evaluator.hpp.
| std::vector<double> tuw::CostsEvaluatorBase< Lattice >::h |
Definition at line 170 of file costs_evaluator.hpp.