Home | History | Annotate | Download | only in src

Lines Matching refs:fnode

3192 CvDTreeSplit* CvDTree::read_split( CvFileStorage* fs, CvFileNode* fnode )
3202 if( !fnode || CV_NODE_TYPE(fnode->tag) != CV_NODE_MAP )
3205 vi = cvReadIntByName( fs, fnode, "var", -1 );
3216 inseq = cvGetFileNodeByName( fs, fnode, "in" );
3219 inseq = cvGetFileNodeByName( fs, fnode, "not_in" );
3262 cmp_node = cvGetFileNodeByName( fs, fnode, "le" );
3265 cmp_node = cvGetFileNodeByName( fs, fnode, "gt" );
3272 split->quality = (float)cvReadRealByName( fs, fnode, "quality" );
3280 CvDTreeNode* CvDTree::read_node( CvFileStorage* fs, CvFileNode* fnode, CvDTreeNode* parent )
3291 if( !fnode || CV_NODE_TYPE(fnode->tag) != CV_NODE_MAP )
3295 depth = cvReadIntByName( fs, fnode, "depth", -1 );
3299 node->sample_count = cvReadIntByName( fs, fnode, "sample_count" );
3300 node->value = cvReadRealByName( fs, fnode, "value" );
3302 node->class_idx = cvReadIntByName( fs, fnode, "norm_class_idx" );
3304 node->Tn = cvReadIntByName( fs, fnode, "Tn" );
3305 node->complexity = cvReadIntByName( fs, fnode, "complexity" );
3306 node->alpha = cvReadRealByName( fs, fnode, "alpha" );
3307 node->node_risk = cvReadRealByName( fs, fnode, "node_risk" );
3308 node->tree_risk = cvReadRealByName( fs, fnode, "tree_risk" );
3309 node->tree_error = cvReadRealByName( fs, fnode, "tree_error" );
3311 splits = cvGetFileNodeByName( fs, fnode, "splits" );
3340 void CvDTree::read_tree_nodes( CvFileStorage* fs, CvFileNode* fnode )
3352 cvStartReadSeq( fnode->data.seq, &reader );
3380 void CvDTree::read( CvFileStorage* fs, CvFileNode* fnode )
3383 _data->read_params( fs, fnode );
3385 read( fs, fnode, _data );