Home
last modified time | relevance | path

Searched refs:bin_num (Results 1 – 3 of 3) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph/
DGraphStat.py7 def degree_dist(graph, limits=(0,0), bin_num=10, mode='out'): argument
32 results = _binning(values=deg, limits=limits, bin_num=bin_num)
37 def _binning(values, limits=(0,0), bin_num=10): argument
51 bin_size = (max_val - min_val)/float(bin_num)
52 bins = [0] * (bin_num)
/external/chromium-trace/catapult/telemetry/third_party/altgraph/altgraph_tests/
Dtest_graphstat.py41 out = GraphStat._binning(a, limits=(0, 100), bin_num=10)
49 out = GraphStat._binning(a, limits=(0, 90), bin_num=9)
55 out = GraphStat._binning(a, limits=(0, 100), bin_num=15)
/external/chromium-trace/catapult/telemetry/third_party/altgraph/doc/
Dgraphstat.rst11 .. function:: degree_dist(graph[, limits[, bin_num[, mode]]])
13 Groups the number of edges per node into *bin_num* bins