tesseract v5.3.3.20231005
tesseract::ParamsTrainingBundle Class Reference

#include <params_training_featdef.h>

Public Member Functions

 ParamsTrainingBundle ()=default
 
void StartHypothesisList ()
 
ParamsTrainingHypothesisAddHypothesis (const ParamsTrainingHypothesis &other)
 

Public Attributes

std::vector< ParamsTrainingHypothesisListhyp_list_vec
 

Detailed Description

Definition at line 131 of file params_training_featdef.h.

Constructor & Destructor Documentation

◆ ParamsTrainingBundle()

tesseract::ParamsTrainingBundle::ParamsTrainingBundle ( )
default

Member Function Documentation

◆ AddHypothesis()

ParamsTrainingHypothesis & tesseract::ParamsTrainingBundle::AddHypothesis ( const ParamsTrainingHypothesis other)
inline

Definition at line 141 of file params_training_featdef.h.

141 {
142 if (hyp_list_vec.empty()) {
144 }
145 hyp_list_vec.back().push_back(ParamsTrainingHypothesis(other));
146 return hyp_list_vec.back().back();
147 }
std::vector< ParamsTrainingHypothesisList > hyp_list_vec

◆ StartHypothesisList()

void tesseract::ParamsTrainingBundle::StartHypothesisList ( )
inline

Definition at line 136 of file params_training_featdef.h.

136 {
137 hyp_list_vec.emplace_back();
138 }

Member Data Documentation

◆ hyp_list_vec

std::vector<ParamsTrainingHypothesisList> tesseract::ParamsTrainingBundle::hyp_list_vec

Definition at line 149 of file params_training_featdef.h.


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