A CNode is an element of a CTaxonomy, which is used to describe hierarchical structure between tasks.
在文件MultitaskKernelTreeNormalizer.h第29行定义。

公有成员 | |
| CNode () | |
| std::set< CNode * > | get_path_root () |
| std::vector< int32_t > | get_task_ids_below () |
| void | add_child (CNode *node) |
| virtual const char * | get_name () const |
| bool | is_leaf () |
| int32_t | getNode_id () const |
| void | setNode_id (int32_t node_idx) |
公有属性 | |
| float64_t | beta |
保护属性 | |
| CNode * | parent |
| std::vector< CNode * > | children |
| int32_t | node_id |
| CNode | ( | ) |
default constructor
| void add_child | ( | CNode * | node | ) |
| virtual const char* get_name | ( | ) | const [virtual] |
| std::set<CNode*> get_path_root | ( | ) |
| std::vector<int32_t> get_task_ids_below | ( | ) |
get a list of task ids at the leaves below the current node
| int32_t getNode_id | ( | ) | const |
| bool is_leaf | ( | ) |
| void setNode_id | ( | int32_t | node_idx | ) |
| node_idx | node id for current node |
parameter of node
list of child nodes
int32_t node_id [protected] |
identifier of node
parent node