tesseract  4.00.00dev
tesseract::ParamsTrainingHypothesis Struct Reference

#include <params_training_featdef.h>

Public Member Functions

 ParamsTrainingHypothesis ()
 
 ParamsTrainingHypothesis (const ParamsTrainingHypothesis &other)
 

Public Attributes

float features [PTRAIN_NUM_FEATURE_TYPES]
 
STRING str
 
float cost
 

Detailed Description

Definition at line 106 of file params_training_featdef.h.

Constructor & Destructor Documentation

◆ ParamsTrainingHypothesis() [1/2]

tesseract::ParamsTrainingHypothesis::ParamsTrainingHypothesis ( )
inline

◆ ParamsTrainingHypothesis() [2/2]

tesseract::ParamsTrainingHypothesis::ParamsTrainingHypothesis ( const ParamsTrainingHypothesis other)
inline

Definition at line 110 of file params_training_featdef.h.

110  {
111  memcpy(features, other.features,
112  sizeof(float) * PTRAIN_NUM_FEATURE_TYPES);
113  str = other.str;
114  cost = other.cost;
115  }
float features[PTRAIN_NUM_FEATURE_TYPES]

Member Data Documentation

◆ cost

float tesseract::ParamsTrainingHypothesis::cost

Definition at line 118 of file params_training_featdef.h.

◆ features

float tesseract::ParamsTrainingHypothesis::features[PTRAIN_NUM_FEATURE_TYPES]

Definition at line 116 of file params_training_featdef.h.

◆ str

STRING tesseract::ParamsTrainingHypothesis::str

Definition at line 117 of file params_training_featdef.h.


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