Public Member Functions | Public Attributes | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
tuw::cost_functions::CostFunc Class Reference

#include <cost_functions.hpp>

Inheritance diagram for tuw::cost_functions::CostFunc:
Inheritance graph
[legend]

Public Member Functions

void calcCosts1Step ()
 
void calcCostsFull ()
 
void calcCostsFull (const double &_arcLimit)
 
const double & cost () const
 
 CostFunc ()
 
void resetFunction ()
 
void setBoundArcEnd (const double &_arcBoundEnd)
 
void setBoundIdxBegin (const std::size_t &_idxBoundBegin)
 
void setCost0 (const double &_cost0)
 

Public Attributes

bool finish_
 
size_t iterIdx_
 
size_t latBeginIdx_
 

Protected Attributes

std::function< double(const size_t &)> arcAcc
 
double cost0_
 
std::function< double(const size_t &)> fL1
 
std::function< double(const double &, const size_t &)> fL2
 
std::function< double(const double &)> fL3
 
double latBackArc_
 
std::function< double(const size_t &)> stAcc
 

Private Member Functions

virtual bool hasReqData (size_t _iterIdx)
 

Private Attributes

double cost_
 

Friends

template<typename Lattice , typename MapData >
class CostsArrayLatBase
 
class funcPredef_FL1
 
class funcPredef_FL2
 
class funcPredef_FL3
 

Detailed Description

Todo:
Proper special class member functions

Definition at line 51 of file cost_functions.hpp.

Constructor & Destructor Documentation

tuw::cost_functions::CostFunc::CostFunc ( )
inline

Definition at line 54 of file cost_functions.hpp.

Member Function Documentation

void tuw::cost_functions::CostFunc::calcCosts1Step ( )
inline

Definition at line 128 of file cost_functions.hpp.

void tuw::cost_functions::CostFunc::calcCostsFull ( )
inline

Definition at line 85 of file cost_functions.hpp.

void tuw::cost_functions::CostFunc::calcCostsFull ( const double &  _arcLimit)
inline

Definition at line 98 of file cost_functions.hpp.

const double& tuw::cost_functions::CostFunc::cost ( ) const
inline

Definition at line 147 of file cost_functions.hpp.

virtual bool tuw::cost_functions::CostFunc::hasReqData ( size_t  _iterIdx)
inlineprivatevirtual
void tuw::cost_functions::CostFunc::resetFunction ( )
inline

Definition at line 77 of file cost_functions.hpp.

void tuw::cost_functions::CostFunc::setBoundArcEnd ( const double &  _arcBoundEnd)
inline

Definition at line 65 of file cost_functions.hpp.

void tuw::cost_functions::CostFunc::setBoundIdxBegin ( const std::size_t &  _idxBoundBegin)
inline

Definition at line 59 of file cost_functions.hpp.

void tuw::cost_functions::CostFunc::setCost0 ( const double &  _cost0)
inline

Definition at line 71 of file cost_functions.hpp.

Friends And Related Function Documentation

template<typename Lattice , typename MapData >
friend class CostsArrayLatBase
friend

Definition at line 195 of file cost_functions.hpp.

friend class funcPredef_FL1
friend

Definition at line 191 of file cost_functions.hpp.

friend class funcPredef_FL2
friend

Definition at line 192 of file cost_functions.hpp.

friend class funcPredef_FL3
friend

Definition at line 193 of file cost_functions.hpp.

Member Data Documentation

std::function<double(const size_t&)> tuw::cost_functions::CostFunc::arcAcc
protected

Definition at line 165 of file cost_functions.hpp.

double tuw::cost_functions::CostFunc::cost0_
protected

Definition at line 186 of file cost_functions.hpp.

double tuw::cost_functions::CostFunc::cost_
private

Definition at line 189 of file cost_functions.hpp.

bool tuw::cost_functions::CostFunc::finish_

Definition at line 159 of file cost_functions.hpp.

std::function<double(const size_t&)> tuw::cost_functions::CostFunc::fL1
protected

Definition at line 171 of file cost_functions.hpp.

std::function<double(const double&, const size_t&)> tuw::cost_functions::CostFunc::fL2
protected

Definition at line 174 of file cost_functions.hpp.

std::function<double(const double&)> tuw::cost_functions::CostFunc::fL3
protected

Definition at line 177 of file cost_functions.hpp.

size_t tuw::cost_functions::CostFunc::iterIdx_

Definition at line 162 of file cost_functions.hpp.

double tuw::cost_functions::CostFunc::latBackArc_
protected

Definition at line 183 of file cost_functions.hpp.

size_t tuw::cost_functions::CostFunc::latBeginIdx_

Definition at line 180 of file cost_functions.hpp.

std::function<double(const size_t&)> tuw::cost_functions::CostFunc::stAcc
protected

Definition at line 168 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