Class OutputPort
- Namespace
- DotFly
- Assembly
- DotFly.Engine.dll
K floats out: a per-neuron readout of a NeuronSet, published every PublishEvery of neural time into an immutable Snapshot that any thread may read without blocking the simulation.
public sealed class OutputPort
- Inheritance
-
OutputPort
- Inherited Members
Properties
Count
Number of values (= neurons).
public int Count { get; }
Property Value
Id
Port id within the simulation (used by recordings).
public int Id { get; }
Property Value
Kind
Readout kind.
public OutputKind Kind { get; }
Property Value
PublishEvery
Publication interval (neural time).
public TimeSpan PublishEvery { get; }
Property Value
Set
The neurons read out.
public NeuronSet Set { get; }
Property Value
Snapshot
The last published frame (initially all zeros at step −1). Lock-free.
public OutputFrame Snapshot { get; }
Property Value
WindowSteps
Effective window in steps (rounded up to whole publish intervals).
public int WindowSteps { get; }
Property Value
Events
Published
Raised on the simulation thread when a frame is published.
public event Action<OutputPort, OutputFrame>? Published