global_parameters

global_parameters#

graph_tool.structure.global_parameters(b, c)[git][source]#

Return the global parameters of a distance-regular graph from its intersection array.

Parameters:
biterable of int

The numbers \(b_0, \dots, b_{d-1}\).

citerable of int

The numbers \(c_1, \dots, c_d\).

Returns:
paramslist of tuple

The triples \((c_i, a_i, b_i)\) for \(i = 0, \dots, d\), where \(a_i = b_0 - b_i - c_i\) is the number of neighbors at the same distance, with \(c_0 = 0\) and \(b_d = 0\) [brouwer-distance-1989].

See also

intersection_array

Intersection array of a distance-regular graph

is_distance_regular

Test for distance-regular graphs

Notes

In a distance-regular graph of diameter \(d\) [brouwer-distance-1989], for every pair of vertices \(u, v\) at distance \(i\), the vertex \(v\) has \(c_i\) neighbors at distance \(i-1\) from \(u\), \(a_i\) at distance \(i\), and \(b_i\) at distance \(i+1\), independently of the pair. Since the graph is regular with degree \(k = b_0\), these numbers satisfy \(a_i + b_i + c_i = k\), from which \(a_i\) is computed. The arrays given are not checked for feasibility.

References

[brouwer-distance-1989] (1,2)

Andries E. Brouwer, Arjeh M. Cohen and Arnold Neumaier, “Distance-Regular Graphs”, Springer (1989), DOI: 10.1007/978-3-642-74341-2 [sci-hub, @tor]

Examples

>>> b, c = gt.intersection_array(gt.lattice([2, 2, 2]))
>>> print(gt.global_parameters(b, c))
[(0, 0, 3), (1, 0, 2), (2, 0, 1), (3, 0, 0)]