详细描述
CTaxonomy is used to describe hierarchical structure between tasks.
在文件MultitaskKernelTreeNormalizer.h第141行定义。
所有成员的列表。
构造及析构函数文档
成员函数文档
| CNode* add_node |
( |
std::string |
parent_name, |
|
|
std::string |
child_name, |
|
|
float64_t |
beta | |
|
) |
| | |
| float64_t compute_node_similarity |
( |
int32_t |
task_lhs, |
|
|
int32_t |
task_rhs | |
|
) |
| | |
| int32_t get_id |
( |
std::string |
name |
) |
|
| int32_t get_id_by_name |
( |
std::string |
name |
) |
|
| virtual const char* get_name |
( |
|
) |
const [virtual] |
| std::map<std::string, int32_t> get_name2id |
( |
|
) |
|
| CNode* get_node |
( |
int32_t |
task_id |
) |
|
| int32_t get_num_leaves |
( |
|
) |
|
| int32_t get_num_nodes |
( |
|
) |
|
| std::set<CNode*> intersect_root_path |
( |
CNode * |
node_lhs, |
|
|
CNode * |
node_rhs | |
|
) |
| | |
given two nodes, compute the intersection of their ancestors
- 参数:
-
| node_lhs | node of left hand side |
| node_rhs | node of right hand side |
- 返回:
- intersection of the two sets of ancestors
在文件MultitaskKernelTreeNormalizer.h第218行定义。
| void set_node_weight |
( |
int32_t |
idx, |
|
|
float64_t |
weight | |
|
) |
| | |
| void update_task_histogram |
( |
std::vector< int32_t > |
task_vector_lhs |
) |
|
成员数据文档
std::map<std::string, int32_t> name2id [protected] |
该类的文档由以下文件生成: