MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / Graph

Method Graph

cpp_easygraph/classes/graph.cpp:6–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5
6Graph::Graph() {
7 this->id = 0;
8 this->dirty_nodes = true;
9 this->dirty_adj = true;
10 this->linkgraph_dirty = true;
11 this->node_to_id = py::dict();
12 this->id_to_node = py::dict();
13 this->graph = py::dict();
14 this->nodes_cache = py::dict();
15 this->adj_cache = py::dict();
16}
17
18py::object Graph__init__(py::args args, py::kwargs kwargs) {
19 py::object self = args[0];

Callers 15

to_networkxFunction · 0.80
from_networkxFunction · 0.80
setup_methodMethod · 0.80
test_data_inputMethod · 0.80
test_from_graphFunction · 0.80
test_from_graph_kHopFunction · 0.80
erdos_renyi_MFunction · 0.80
erdos_renyi_PFunction · 0.80
fast_erdos_renyi_PFunction · 0.80

Calls

no outgoing calls

Tested by 15

setup_methodMethod · 0.64
test_data_inputMethod · 0.64
test_from_graphFunction · 0.64
test_from_graph_kHopFunction · 0.64
test_k_coreFunction · 0.64
test_emptyMethod · 0.64
test_clusteringMethod · 0.64
test_is_isolateFunction · 0.64
test_isolatesFunction · 0.64
test_number_of_isolatesFunction · 0.64