简介
graph_tag作为不同图内部定义的类型别名,用于edge_property_selector和vertex_property_selector的模板类型参数
graph_tag
目前支持的tag有
- adjacency_matrix_class_tag
- csr_graph_tag
- directed_graph_tag
- edge_list_tag
- edge_list_ra_tag
- filtered_graph_tag
- property_graph_archetype_tag
- graph_as_tree_tag
- labeled_graph_class_tag
- reverse_graph_tag
- subgraph_tag
- undirected_graph_tag
- adj_list_tag
- vec_adj_list_tag
graph_tag_or_void
用于管理tag
template <typename Graph, typename Enable = void>
struct graph_tag_or_void {
typedef void type;
};
template <typename Graph>
struct graph_tag_or_void<Graph, typename return_void<typename Graph::graph_tag>::type> {
typedef typename Graph::graph_tag type;
};