Definition at line 30 of file CostFactory.h.
◆ CostFactory() [1/2]
CostFactory::CostFactory |
( |
void |
| ) |
|
|
inline |
◆ CostFactory() [2/2]
CostFactory::CostFactory |
( |
unsigned short |
cv, |
|
|
short |
verbose |
|
) |
| |
|
inline |
Definition at line 33 of file CostFactory.h.
33: m_cv(cv), m_verbose(verbose){};
◆ ~CostFactory()
virtual CostFactory::~CostFactory |
( |
void |
| ) |
|
|
inlinevirtual |
◆ getClassIndex()
int CostFactory::getClassIndex |
( |
std::string |
classname | ) |
const |
|
inline |
Definition at line 41 of file CostFactory.h.
41{return m_cm.getClassIndex(classname);};
◆ getClassValueMap()
std::map< std::string, short > CostFactory::getClassValueMap |
( |
| ) |
|
|
inline |
◆ getNameVector()
std::vector< std::string > CostFactory::getNameVector |
( |
| ) |
|
|
inline |
◆ pushBackClassName()
void CostFactory::pushBackClassName |
( |
std::string |
classname | ) |
|
|
inline |
Definition at line 43 of file CostFactory.h.
43{m_cm.pushBackClassName(classname,true);};
◆ pushBackName()
void CostFactory::pushBackName |
( |
std::string |
classname | ) |
|
|
inline |
Definition at line 45 of file CostFactory.h.
45{m_nameVector.push_back(classname);};
◆ setClassValueMap()
void CostFactory::setClassValueMap |
( |
const std::string & |
classname, |
|
|
short |
classvalue |
|
) |
| |
|
inline |
Definition at line 37 of file CostFactory.h.
37{ m_classValueMap[classname]=classvalue;};
◆ setCv()
void CostFactory::setCv |
( |
unsigned short |
cv | ) |
|
|
inline |
◆ setNameVector()
void CostFactory::setNameVector |
( |
std::vector< std::string > & |
nameVector | ) |
|
|
inline |
◆ setNcTest()
void CostFactory::setNcTest |
( |
const std::vector< unsigned int > |
nctest | ) |
|
|
inline |
◆ setNcTraining()
void CostFactory::setNcTraining |
( |
const std::vector< unsigned int > |
nctraining | ) |
|
|
inline |
◆ m_classvalue
short CostFactory::m_classvalue |
|
protected |
◆ m_classValueMap
std::map<std::string,short> CostFactory::m_classValueMap |
|
protected |
◆ m_cm
◆ m_cv
unsigned short CostFactory::m_cv |
|
protected |
◆ m_nameVector
std::vector<std::string> CostFactory::m_nameVector |
|
protected |
◆ m_nctest
std::vector<unsigned int> CostFactory::m_nctest |
|
protected |
◆ m_nctraining
std::vector<unsigned int> CostFactory::m_nctraining |
|
protected |
◆ m_verbose
short CostFactory::m_verbose |
|
protected |
The documentation for this class was generated from the following file:
- /tmp/slackdce/slackrepo.6a0m9U/build_pktools/PKTOOLS-2.6.7.6/src/algorithms/CostFactory.h