SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2201.09467 · 2022

CTRMs: Learning to Construct Cooperative Timed Roadmaps for Multi-agent Path Planning in Continuous Spaces

arXiv · PDF · Open in the Atlas

Code that ran

6 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 6 have no contract verdict; 0 failures of our instrument; 1 no recorded run), measured 2026-11-21; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2201.09467.json · badge: /api/ran/2201.09467.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
omron-sinicx/ctrm canonical (classifier label)
classifier basis not recorded on the link
6 ran · 1 no recorded run
FunctionStatusWhere it lives
get_arr_others_info Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/learning/compiled.py
code served (permissive licence) · get_code("360d7fa256c14699")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 3, dtype family float, shape (2, 9, 11) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Set seed for reproducibility
np.random.seed(0)

# Define small but distinct dimensions for each parameter
num_agents = 3
T = 2  # time steps

# arr_current_locs: (T, num_agents, 2) - current positions over time
arr_current_locs = np.random.randn(T, num_agents, 2).astype(np.float64)

# goals: (num_agents, 2) - goal positions for all agents
goals = np.random.randn(num_agents, 2).astype(np.float64)

# arr_prev_locs: (T, num_agents, 2) - previous positions over time
arr_prev_locs = np.random.randn(T, num_agents, 2).astype(np.float64)

# rads: (num_agents,) - radius for each agent
rads = np.array([0.5, 0.6, 0.7], dtype=np.float64)

# max_speeds: (num_agents,) - max speed for each agent
max_speeds = np.array([1.0, 1.1, 1.2], dtype=np.float64)

ARGS = {
    "arr_current_locs": arr_current_locs,
    "goals": goals,
    "arr_prev_locs": arr_prev_locs,
    "rads": rads,
    "max_speeds": max_speeds,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 3, dtype family float, shape (2, 9, 11) — shape (2, 9, 11) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_map_coord_2d Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/learning/fov.py
code served (permissive licence) · get_code("d8e12a4e6f0343f1")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple, ndim 1, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# The function takes a position array and map size
# pos should be a numpy array with 2 elements in range [0, 1]
# map_size should be an integer

pos = np.array([0.5, 0.75])
map_size = 64

ARGS = {
    "pos": pos,
    "map_size": map_size,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple, ndim 1, dtype family int — a tuple output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_normed_vec_mag Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/learning/compiled.py
code served (permissive licence) · get_code("45b51027a7b35811")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (4, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create a small 2D vector array
# Shape: (4, 2) - 4 vectors with 2D coordinates (x, y)
arr_vec = np.array([
    [3.0, 4.0],      # magnitude 5
    [1.0, 1.0],      # magnitude sqrt(2)
    [0.0, 0.0],      # magnitude 0 (edge case)
    [6.0, 8.0]       # magnitude 10
], dtype=np.float64)

ARGS = {
    "arr_vec": arr_vec
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numba, numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_rotation_matrix_3d Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/environment/static_objects.py
code served (permissive licence) · get_code("0935fa33036f574f")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 2, dtype family float, shape (3, 3) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Create test vectors for the rotation matrix function
# The function expects two numpy arrays representing 3D positions

# Case 1: Two different unit vectors (not parallel, not anti-parallel)
frm = np.array([1.0, 0.0, 0.0])
to = np.array([0.0, 1.0, 0.0])

ARGS = {
    "frm": frm,
    "to": to,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 2, dtype family float, shape (3, 3) — shape (3, 3) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
pad Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/environment/fcl_utils.py
code served (permissive licence) · get_code("dd5625867bb5d218")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned ndarray, ndim 1, dtype family float, shape (3,) as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import numpy as np

# Test case 1: 2D position array
pos_2d = np.array([1.0, 1.0])

# Test case 2: 3D position array
pos_3d = np.array([1.0, 1.0, 1.0])

# Use the 2D case as the primary argument
ARGS = {
    "pos": pos_2d
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type ndarray, ndim 1, dtype family float, shape (3,) — shape (3,) as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
stop_watch Ran
ran on a synthesized input
omron-sinicx/ctrm/src/ctrm/utils.py
code served (permissive licence) · get_code("7cbfb746d55d26a4")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import time
from functools import wraps
from logging import getLogger

logger = getLogger(__name__)

def stop_watch(name=None, verbose=True):
    """decorator, measure execution time of given function

    Args:
        name (:obj:`Optional[str]`, optional): this value will be printed
        verbose (:obj:`bool`, optional): print additional info
    """

    def wrapper(func):

        @wraps(func)
        def _stop_watch(*args, **kargs):
            start = time.time()
            result = func(*args, **kargs)
            elapsed = time.time() - start
            _name = name if name is not None else func.__name__
            if verbose:
                logger.info(f'{_name}: {elapsed} sec')
            return (result, elapsed)
        return _stop_watch
    return wrapper


# Create a simple test function to decorate
def sample_function(x, y):
    """A simple function to test the decorator"""
    time.sleep(0.01)
    return x + y


# Test the decorator application
decorated_func = stop_watch(name="test_operation", verbose=True)(sample_function)
result, elapsed_time = decorated_func(5, 3)

ARGS = {
    "name": "my_function",
    "verbose": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type function — a function output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a function output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
get_self_info Not yet run
unverified (harvested, no recorded run)
omron-sinicx/ctrm/src/ctrm/learning/compiled.py
code served (permissive licence) · get_code("61ecdd9442673a0c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 7 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-21.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Multi-agent path planning (MAPP) in continuous spaces is a challenging problem with significant practical importance. One promising approach is to first construct graphs approximating the spaces, called roadmaps, and then apply multi-agent pathfinding (MAPF) algorithms to derive a set of conflict-free paths. While conventional studies have utilized roadmap construction methods developed for single-agent planning, it remains largely unexplored how we can construct roadmaps that work effectively for multiple agents. To this end, we propose a novel concept of roadmaps called cooperative timed roadmaps (CTRMs). CTRMs enable each agent to focus on its important locations around potential solution paths in a way that considers the behavior of other agents to avoid inter-agent collisions (i.e., "cooperative"), while being augmented in the time direction to make it easy to derive a "timed" solution path. To construct CTRMs, we developed a machine-learning approach that learns a generative model from a collection of relevant problem instances and plausible solutions and then uses the learned model to sample the vertices of CTRMs for new, previously unseen problem instances. Our empirical evaluation revealed that the use of CTRMs significantly reduced the planning effort with acceptable overheads while maintaining a success rate and solution quality comparable to conventional roadmap construction approaches.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2201.09467")
get_code_for_paper("2201.09467")
have("2201.09467")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2201.09467.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2201.09467.svg)](https://syntology.ai/paper/2201.09467)

Connect an agent — have() is free.