Build · Topology (graph)
dendrocycle¶
Construct a directed dendrocycle graph with optional small-world chords on the core ring.
from resdag.layers import ESNLayer
reservoir = ESNLayer(500, feedback_size=3, topology="dendrocycle", spectral_radius=0.9)
| parameter | default |
|---|---|
c |
— |
d |
— |
core_weight |
1.0 |
dendritic_weight |
1.0 |
quiescent_weight |
1.0 |
L |
None |
w |
0.5 |
alpha |
1.0 |
Override any parameter with the tuple spec — topology=("dendrocycle", {...}) —
or pre-configure with get_topology("dendrocycle", ...). Scaling to a target
spectral radius happens after construction, whatever the source.
See also¶
- Initialization — every way to specify structure
- Reference — the registry API
