Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | List of all members
tuw::cost_functions::CostsArrayLatBase< Lattice, MapData > Class Template Referenceabstract

#include <cost_functions.hpp>

Inheritance diagram for tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >:
Inheritance graph
[legend]

Public Member Functions

double arcAtLattIdxPrev () const
 
void calcCosts1KnotStep ()
 
void calcCosts1KnotStep (const double &_arcLimit)
 
void calcCostsFull ()
 
const double & cost (const size_t &_i) const
 
 CostsArrayLatBase ()
 
const size_t costsSize () const
 
void initLatticeMap (std::vector< std::shared_ptr< Lattice >> &_lattPtr, std::shared_ptr< MapData > &_mapDataPtr)
 
const size_t & knotLatIdx () const
 
virtual size_t latFuncLayerIdx ()=0
 
virtual size_t latKnotLayerIdx ()=0
 
void reset ()
 
void resetNew ()
 
void setWeight (const double &_weight)
 

Public Attributes

size_t iterIdx_
 
size_t iterIdxPartBegin_
 

Protected Attributes

bool finish_
 
std::shared_ptr< Lattice > lattFuncPtr_
 
std::shared_ptr< Lattice > lattKnotPtr_
 
std::shared_ptr< MapData > mapDataPtr_
 
std::vector< CostFuncLatMap1WeightPtr< Lattice, MapData > > pieceWiseCosts
 

Private Member Functions

virtual CostFuncLatMap1WeightPtr< Lattice, MapData > allocateCostFunc ()=0
 
void resetBounds (int _fistResetBound)
 
int resizeInitNew ()
 

Private Attributes

size_t knotLatIdx_
 
double weight_
 

Detailed Description

template<typename Lattice, typename MapData>
class tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >

Definition at line 238 of file cost_functions.hpp.

Constructor & Destructor Documentation

template<typename Lattice , typename MapData >
tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::CostsArrayLatBase ( )
inline

Definition at line 241 of file cost_functions.hpp.

Member Function Documentation

template<typename Lattice , typename MapData >
virtual CostFuncLatMap1WeightPtr<Lattice, MapData> tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::allocateCostFunc ( )
privatepure virtual
template<typename Lattice , typename MapData >
double tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::arcAtLattIdxPrev ( ) const
inline

Definition at line 357 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::calcCosts1KnotStep ( )
inline

Definition at line 286 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::calcCosts1KnotStep ( const double &  _arcLimit)
inline

Definition at line 306 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::calcCostsFull ( )
inline

Definition at line 277 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
const double& tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::cost ( const size_t &  _i) const
inline

Definition at line 255 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
const size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::costsSize ( ) const
inline

Definition at line 261 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::initLatticeMap ( std::vector< std::shared_ptr< Lattice >> &  _lattPtr,
std::shared_ptr< MapData > &  _mapDataPtr 
)
inline
Todo:
not nice!

Definition at line 406 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
const size_t& tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::knotLatIdx ( ) const
inline

Definition at line 429 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
virtual size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::latFuncLayerIdx ( )
pure virtual
template<typename Lattice , typename MapData >
virtual size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::latKnotLayerIdx ( )
pure virtual
template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::reset ( )
inline

Definition at line 332 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::resetBounds ( int  _fistResetBound)
inlineprivate

Definition at line 363 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::resetNew ( )
inline

Definition at line 346 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
int tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::resizeInitNew ( )
inlineprivate

Definition at line 374 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
void tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::setWeight ( const double &  _weight)
inline

Definition at line 267 of file cost_functions.hpp.

Member Data Documentation

template<typename Lattice , typename MapData >
bool tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::finish_
protected

Definition at line 438 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::iterIdx_

Definition at line 441 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::iterIdxPartBegin_

Definition at line 444 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
size_t tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::knotLatIdx_
private

Definition at line 456 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
std::shared_ptr<Lattice> tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::lattFuncPtr_
protected

Definition at line 447 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
std::shared_ptr<Lattice> tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::lattKnotPtr_
protected

Definition at line 450 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
std::shared_ptr<MapData> tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::mapDataPtr_
protected

Definition at line 453 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
std::vector<CostFuncLatMap1WeightPtr<Lattice, MapData> > tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::pieceWiseCosts
protected

Definition at line 435 of file cost_functions.hpp.

template<typename Lattice , typename MapData >
double tuw::cost_functions::CostsArrayLatBase< Lattice, MapData >::weight_
private

Definition at line 459 of file cost_functions.hpp.


The documentation for this class was generated from the following file:


tuw_control
Author(s): George Todoran
autogenerated on Mon Jun 10 2019 15:27:24