Skip to content

Build · Initialization

Topology catalog

Every registered topology, graph-based and matrix-based. Each page shows the connectivity portrait, the weight matrix, the parameters, and the code to use it in a reservoir layer.

  • antisymmetric


    Build a random antisymmetric (skew-symmetric) matrix \(A - A^\top\).

  • band


    Fill abs(i-j) <= bandwidth with weight and the rest with zero.

  • barabasi_albert


    Generates a Barabási-Albert scale-free network.

  • block_diagonal


    Fill complete diagonal blocks of size block_size with weight.

  • chord_dendrocycle


    Dendrocycle + optional small-world chords on the core ring.

  • complete


    Generates a complete (undirected) graph of n nodes.

  • connected_erdos_renyi


    Generates a connected Erdos-Renyi graph.

  • connected_watts_strogatz


    Generates a connected Watts-Strogatz graph.

  • cycle_jumps


    Add bidirectional jumps between regularly spaced nodes of a cycle.

  • delay_line


    Place weight on a subdiagonal shift places below the diagonal.

  • delay_line_backward


    Build a forward delay line plus a backward superdiagonal connection.

  • dendrocycle


    Construct a directed dendrocycle graph with optional small-world chords on the core ring.

  • eigen_spectrum


    Build a real normal matrix with prescribed real/complex-pair eigenvalues.

  • erdos_renyi


    Generates an Erdos-Renyi (G(n, p)) graph.

  • fast_spectral_initialization


    Build a recurrent matrix at a target spectral radius without eigvals.

  • householder_orthogonal


    Build gain * H_k ... H_1, with H_i = I - 2 v_i v_i.T.

  • kleinberg_small_world


    Generates a 2D Kleinberg small-world graph on an n x n toroidal grid.

  • multi_cycle


    Build a Simple Multi-Cycle Reservoir (SMCR) topology as a NetworkX DiGraph.

  • newman_watts_strogatz


    Generates a Newman-Watts-Strogatz small-world graph.

  • orthogonal


    Build a random orthogonal matrix via QR decomposition.

  • random


    Generate a random directed graph with a given density.

  • regular


    Generates a regular ring-lattice graph (each node has k neighbors).

  • ring_chord


    Generates a small-world digraph with a ring and backward chords. - ring edges i -> (i+1) mod n with weight 1.0 - backward chords i -> (i - L

  • self_loop_cycle


    Build a directed cycle with a constant self-connection on every unit.

  • signed_permutation


    Build a random permutation with independent random signs, times gain.

  • simple_cycle


    Build one directed ring with constant weight on every edge.

  • simple_cycle_jumps


    Generate a directed cycle with bidirectional jumps.

  • singular_spectrum


    Build U @ diag(singular_values) @ V.T from independent Haar factors.

  • spectral_cascade


    Generates a graph of N disconnected components (cliques) of sizes 1..N, where n = N(N+1)/2. Each clique is fully connected (or complete in t

  • toeplitz


    Set M[i,j] = weight * decay**abs(i-j) inside an optional band.

  • watts_strogatz


    Generates a Watts-Strogatz small-world graph.

  • zeros


    Create the zero (edgeless) graph with n nodes.