Table of Contents

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

int

Id

Port id within the simulation (used by recordings).

public int Id { get; }

Property Value

int

Kind

Readout kind.

public OutputKind Kind { get; }

Property Value

OutputKind

PublishEvery

Publication interval (neural time).

public TimeSpan PublishEvery { get; }

Property Value

TimeSpan

Set

The neurons read out.

public NeuronSet Set { get; }

Property Value

NeuronSet

Snapshot

The last published frame (initially all zeros at step −1). Lock-free.

public OutputFrame Snapshot { get; }

Property Value

OutputFrame

WindowSteps

Effective window in steps (rounded up to whole publish intervals).

public int WindowSteps { get; }

Property Value

int

Events

Published

Raised on the simulation thread when a frame is published.

public event Action<OutputPort, OutputFrame>? Published

Event Type

Action<OutputPort, OutputFrame>