Table of Contents

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

Id int

The node's id.

IsLeaf bool

True for a leaf, false for a group.

Held bool

Whether the node took the step.

Properties

Held

Whether the node took the step.

public bool Held { get; init; }

Property Value

bool

Id

The node's id.

public int Id { get; init; }

Property Value

int

IsLeaf

True for a leaf, false for a group.

public bool IsLeaf { get; init; }

Property Value

bool