Struct CompiledStepColorTree.Visit
- Namespace
- Hi.MachiningProcs
- Assembly
- HiNc.dll
One node tried for a step by the trace (ReadStepColorTreeTrace(CompiledStepColorTree, MachiningStep)): the node's id, whether it is a leaf, and whether its condition held (a node without a condition holds). A group that holds is followed by its children tried in order; a leaf that holds is the last visit.
public readonly record struct CompiledStepColorTree.Visit : IEquatable<CompiledStepColorTree.Visit>
- Implements
- Inherited Members
- Extension Methods
Constructors
Visit(int, bool, bool)
One node tried for a step by the trace (ReadStepColorTreeTrace(CompiledStepColorTree, MachiningStep)): the node's id, whether it is a leaf, and whether its condition held (a node without a condition holds). A group that holds is followed by its children tried in order; a leaf that holds is the last visit.
public Visit(int Id, bool IsLeaf, bool Held)
Parameters
IdintThe node's id.
IsLeafboolTrue for a leaf, false for a group.
HeldboolWhether the node took the step.
Properties
Held
Whether the node took the step.
public bool Held { get; init; }
Property Value
Id
The node's id.
public int Id { get; init; }
Property Value
IsLeaf
True for a leaf, false for a group.
public bool IsLeaf { get; init; }