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.
-
Build a random antisymmetric (skew-symmetric) matrix \(A - A^\top\).
-
Fill
abs(i-j) <= bandwidthwithweightand the rest with zero. -
Generates a Barabási-Albert scale-free network.
-
Fill complete diagonal blocks of size
block_sizewithweight. -
Dendrocycle + optional small-world chords on the core ring.
-
Generates a complete (undirected) graph of n nodes.
-
Generates a connected Erdos-Renyi graph.
-
Generates a connected Watts-Strogatz graph.
-
Add bidirectional jumps between regularly spaced nodes of a cycle.
-
Place
weighton a subdiagonalshiftplaces below the diagonal. -
Build a forward delay line plus a backward superdiagonal connection.
-
Construct a directed dendrocycle graph with optional small-world chords on the core ring.
-
Build a real normal matrix with prescribed real/complex-pair eigenvalues.
-
Generates an Erdos-Renyi (G(n, p)) graph.
-
Build a recurrent matrix at a target spectral radius without eigvals.
-
Build
gain * H_k ... H_1, withH_i = I - 2 v_i v_i.T. -
Generates a 2D Kleinberg small-world graph on an
n x ntoroidal grid. -
Build a Simple Multi-Cycle Reservoir (SMCR) topology as a NetworkX DiGraph.
-
Generates a Newman-Watts-Strogatz small-world graph.
-
Build a random orthogonal matrix via QR decomposition.
-
Generate a random directed graph with a given density.
-
Generates a regular ring-lattice graph (each node has k neighbors).
-
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
-
Build a directed cycle with a constant self-connection on every unit.
-
Build a random permutation with independent random signs, times
gain. -
Build one directed ring with constant
weighton every edge. -
Generate a directed cycle with bidirectional jumps.
-
Build
U @ diag(singular_values) @ V.Tfrom independent Haar factors. -
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
-
Set
M[i,j] = weight * decay**abs(i-j)inside an optional band. -
Generates a Watts-Strogatz small-world graph.
-
Create the zero (edgeless) graph with n nodes.