tesseract  3.03
tesseract::ParamsTrainingHypothesis Struct Reference

#include <params_training_featdef.h>

List of all members.

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

Definition at line 107 of file params_training_featdef.h.

                             : cost(0.0) {
    memset(features, 0, sizeof(float) * PTRAIN_NUM_FEATURE_TYPES);
  }

Definition at line 110 of file params_training_featdef.h.

                                                                  {
    memcpy(features, other.features,
           sizeof(float) * PTRAIN_NUM_FEATURE_TYPES);
    str = other.str;
    cost = other.cost;
  }

Member Data Documentation


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines