Read-only copy. This public copy of trans-bench is read-only: it shows the published campaigns. Clone the repository to run benchmarks or to edit systems. github.com/Sirneij/trans-bench, branch verified-rerun-2026
Topology · complete

Complete Graph

Every node has edges to every other node. Transitive closure is the graph itself.

Evaluation
Linear · T ∘ E–iterations (left / right recursion)
Doubling · T ∘ T–iterations (double recursion)
1 / 1
iteration 1new pairs per iteration
Nodes · edges6 · 36
Closure |TC|36
Closure / edges1.0×
6

A small instance from the generator the benchmark runs with n from 100 upwards.

Definition

Symbol
K_n
Edges
\{(i,j) \mid i \in 1..n, j \in 1..n\}

Generator

engine.data_generator.DataGenerator.generate_complete_graph
generate_db.py
    def generate_complete_graph(self, n: int) -> Generator[tuple[int, int], None, None]:
        """Generate a complete graph with n nodes."""
        # self.E = {(i, j) for i in range(1, n + 1) for j in range(1, n + 1)}
        logging.info(f'Generating complete graph for n={n}')
        for i in range(1, n + 1):
            for j in range(1, n + 1):
                yield (i, j)