the Wiener index is a topological index graph invariant defined as the sum of distances between all pairs of vertices in a chemical graph | индекс Винера – это топологический индекс или инвариант графа, определяемый как сумма расстояний между всеми парами вершин в химическом графе |