A pair of (not necessarily distinct) vertices in a directed graph is called a reachable pair if there exists a directed path from to . We define the weight of to be the number of reachable pairs of , which equals the sum of the number of vertices in and the number of directed edges in the transitive closure of . In this paper, we study the set of possible weights of directed graphs on labeled vertices. We prove that can be determined recursively and describe the integers in the set. Moreover, if is the least integer for which there is no digraph on vertices with exactly reachable pairs, we determine exactly through a simple recursive formula and find an explicit function such that for all . Using these results, we are able to approximate – which is quadratic in – with an explicit function that is within of for all $n \geqslant 3nn$ element set and the number of containments among the minimal open sets of a topology on an point space, our theorems are applicable to preorders and topologies.

生成讲解博客的中文版本

生成AI智能校验的中文版本