tree.h
Go to the documentation of this file.
00001 #ifndef TREE_H
00002 #define TREE_H
00003 
00004 typedef struct{
00005     int *leaf;
00006     int n;
00007     int *parent;
00008     int *group;
00009     char **name;
00010 
00011     int groups;
00012     int *group_size;
00013     int *group_offset;
00014 } tree;
00015 
00016 tree *read_tree(char *filename);
00017 void hierarchy_predictions(float *predictions, int n, tree *hier, int only_leaves);
00018 void change_leaves(tree *t, char *leaf_list);
00019 float get_hierarchy_probability(float *x, tree *hier, int c);
00020 
00021 #endif


rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31