Lines Matching refs:CvDTreeNode
274 tree_block_size = MAX((int)sizeof(CvDTreeNode)*8, max_split_size);
277 CV_CALL( node_heap = cvCreateSet( 0, sizeof(*node_heap), sizeof(CvDTreeNode), tree_storage ));
546 CvDTreeNode* CvDTreeTrainData::subsample_data( const CvMat* _subsample_idx )
548 CvDTreeNode* root = 0;
565 CvDTreeNode temp;
801 CvDTreeNode* CvDTreeTrainData::new_node( CvDTreeNode* parent, int count,
804 CvDTreeNode* node = (CvDTreeNode*)cvSetNew( node_heap );
875 void CvDTreeTrainData::free_node( CvDTreeNode* node )
890 void CvDTreeTrainData::free_node_data( CvDTreeNode* node )
957 CvPair32s32f* CvDTreeTrainData::get_ord_var_data( CvDTreeNode* n, int vi )
966 int* CvDTreeTrainData::get_class_labels( CvDTreeNode* n )
972 float* CvDTreeTrainData::get_ord_responses( CvDTreeNode* n )
978 int* CvDTreeTrainData::get_labels( CvDTreeNode* n )
984 int* CvDTreeTrainData::get_cat_var_data( CvDTreeNode* n, int vi )
993 int CvDTreeTrainData::get_child_buf_idx( CvDTreeNode* n )
1202 tree_block_size = MAX((int)sizeof(CvDTreeNode)*8, max_split_size);
1206 sizeof(CvDTreeNode), tree_storage ));
1248 const CvDTreeNode* CvDTree::get_root() const
1334 void CvDTree::try_split_node( CvDTreeNode* node )
1428 double CvDTree::calc_node_dir( CvDTreeNode* node )
1527 CvDTreeSplit* CvDTree::find_best_split( CvDTreeNode* node )
1566 CvDTreeSplit* CvDTree::find_split_ord_class( CvDTreeNode* node, int vi )
1756 CvDTreeSplit* CvDTree::find_split_cat_class( CvDTreeNode* node, int vi )
1927 CvDTreeSplit* CvDTree::find_split_ord_reg( CvDTreeNode* node, int vi )
1967 CvDTreeSplit* CvDTree::find_split_cat_reg( CvDTreeNode* node, int vi )
2048 CvDTreeSplit* CvDTree::find_surrogate_split_ord( CvDTreeNode* node, int vi )
2162 CvDTreeSplit* CvDTree::find_surrogate_split_cat( CvDTreeNode* node, int vi )
2254 void CvDTree::calc_node_value( CvDTreeNode* node )
2436 void CvDTree::complete_node_dir( CvDTreeNode* node )
2516 void CvDTree::split_node_data( CvDTreeNode* node )
2520 CvDTreeNode *left = 0, *right = 0;
2739 CvDTreeNode* node = root;
2744 CvDTreeNode* parent;
2790 CvDTreeNode* node = root;
2796 CvDTreeNode* parent;
2831 CvDTreeNode* node = root;
2835 CvDTreeNode* parent;
2881 CvDTreeNode* CvDTree::predict( const CvMat* _sample,
2884 CvDTreeNode* result = 0;
2894 CvDTreeNode* node = root;
3012 CvDTreeNode* node = root;
3022 CvDTreeNode* parent;
3088 void CvDTree::write_node( CvFileStorage* fs, CvDTreeNode* node )
3128 CvDTreeNode* node = root;
3133 CvDTreeNode* parent;
3280 CvDTreeNode* CvDTree::read_node( CvFileStorage* fs, CvFileNode* fnode, CvDTreeNode* parent )
3282 CvDTreeNode* node = 0;
3347 CvDTreeNode _root;
3348 CvDTreeNode* parent = &_root;
3356 CvDTreeNode* node;