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 · path

Path Graph

A simple directed path 1→2→3→...→n. TC is a dense upper-triangular graph.

Evaluation
Linear · T ∘ E–iterations (left / right recursion)
Doubling · T ∘ T–iterations (double recursion)
1 / 1
iteration 1new pairs per iteration
Nodes · edges7 · 6
Closure |TC|21
Closure / edges3.5×
7

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

Definition

Symbol
P_n
Edges
\{(i,i+1) \mid i \in 1..n-1\}

Generator

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