Skip to content

Build · Topology (graph)

simple_cycle_jumps

Generate a directed cycle with bidirectional jumps.

simple_cycle_jumps

Connectivity and weight matrix on a small reservoir.
from resdag.layers import ESNLayer

reservoir = ESNLayer(500, feedback_size=3, topology="simple_cycle_jumps", spectral_radius=0.9)
parameter default
jump_length
r_c 1.0
r_l 0.5

Override any parameter with the tuple spec — topology=("simple_cycle_jumps", {...}) — or pre-configure with get_topology("simple_cycle_jumps", ...). Scaling to a target spectral radius happens after construction, whatever the source.

See also