Class StepColorTreeTrace
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
Internal Use Only. One step under a tree, explained (ReadStepColorTreeTrace(CompiledStepColorTree, MachiningStep)).
public sealed record StepColorTreeTrace : IEquatable<StepColorTreeTrace>
- Inheritance
-
StepColorTreeTrace
- Implements
- Inherited Members
- Extension Methods
Constructors
StepColorTreeTrace(int?, double, IReadOnlyList<double>, IReadOnlyList<Visit>, string)
Internal Use Only. One step under a tree, explained (ReadStepColorTreeTrace(CompiledStepColorTree, MachiningStep)).
public StepColorTreeTrace(int? LeafId, double LeafValue, IReadOnlyList<double> Values, IReadOnlyList<CompiledStepColorTree.Visit> Visits, string Error)
Parameters
LeafIdint?The leaf the step fell into; null for none.
LeafValuedoubleThe step's value under the leaf's value key; NaN for none.
ValuesIReadOnlyList<double>The values read, one per key of Keys; NaN where a read did not run; empty when nothing was read (a null tree or step, a tree being read on this thread already).
VisitsIReadOnlyList<CompiledStepColorTree.Visit>The nodes tried, in order.
ErrorstringThe text of the exception a read threw, or the note of a tree being read on this thread already; null else.
Properties
Error
The text of the exception a read threw, or the note of a tree being read on this thread already; null else.
public string Error { get; init; }
Property Value
LeafId
The leaf the step fell into; null for none.
public int? LeafId { get; init; }
Property Value
- int?
LeafValue
The step's value under the leaf's value key; NaN for none.
public double LeafValue { get; init; }
Property Value
Values
The values read, one per key of Keys; NaN where a read did not run; empty when nothing was read (a null tree or step, a tree being read on this thread already).
public IReadOnlyList<double> Values { get; init; }
Property Value
Visits
The nodes tried, in order.
public IReadOnlyList<CompiledStepColorTree.Visit> Visits { get; init; }