csharp
public readonly ref struct FactorSpanFactors that have already been read, so the shared scorer can combine them.
Remarks
⚠ The half of the pipeline that cannot stream, and it is not a shortcoming. A utility action reads its considerations one at a time and stops at the first zero, because a veto makes the rest irrelevant. An environment query cannot: a test may filter the point, and the filtering and the scoring are interleaved down one list — so a run collects what survived and hands it here, and the mean and the veto are still the one implementation.
Fields and properties (1)
public int CountHow many factors there are.
Methods (2)
public FactorSpan(ReadOnlySpan<float> factors)Factors that have already been read, so the shared scorer can combine them.
public float Factor(int index)Reads one, in [0,1].
Used by (1)
- EnvironmentQueryVixen.Ai