Expand description
Morphology rules for synaptogenesis.
Implements various connectivity patterns:
- Projector: Map source neurons to destination maintaining topology
- Block connections: Scaled block mapping
- Expander: Scale coordinates from source to destination
- Reducer: Binary encoding/decoding
Re-exports§
pub use patterns::find_destination_coordinates;pub use patterns::find_source_coordinates;pub use patterns::match_patterns_batch;pub use patterns::Pattern3D;pub use patterns::PatternElement;
Modules§
- patterns
- Pattern-based connectivity - wildcard matching and transformations.
Structs§
- Projector
Params - Parameters for projection mapping
Functions§
- apply_
vector_ offset - Apply vector offset to source position.
- match_
vectors_ batch - Match vectors - apply vector offset to source positions
- syn_
block_ connection - Block connection mapping - identity mapping (like vector (0,0,0)).
- syn_
expander - Expander mapping - scales coordinates by dimension ratios.
- syn_
expander_ batch - Batch expander for parallel processing (sequential fallback for WASM)
- syn_
last_ to_ first - Last to first - connect last neuron to first (feedback connection)
- syn_
lateral_ pairs_ x - Lateral pairs X - connect neurons in pairs along X axis Even neurons connect to right neighbor, odd to left neighbor
- syn_
projector - High-performance projection mapping.
- syn_
projector_ batch - Batch projection for multiple neurons (parallel processing).
- syn_
randomizer - Randomizer - select random position in destination area
- syn_
reducer_ x - Reducer mapping - maps source x position to multiple destination positions based on binary representation.