Table of Contents

Struct MaintenanceWorkBudget

Namespace
Trailblazer.Pathing
Assembly
Trailblazer.dll

Defines the finite deterministic work counters consumed at one graph-maintenance boundary.

public readonly struct MaintenanceWorkBudget : IEquatable<MaintenanceWorkBudget>
Implements
Inherited Members

Constructors

MaintenanceWorkBudget(int, int, int, int, int, int, int, int)

Creates an explicit positive maintenance budget.

public MaintenanceWorkBudget(int maxConsumedEnvelopes, int maxBaselineAddresses, int maxOverlaySlots, int maxComponentNodes, int maxSeamCandidateProbes, int maxExplicitEdges, int maxDependencyEntries, int maxSurfaceComponentEdges = 65536)

Parameters

maxConsumedEnvelopes int
maxBaselineAddresses int
maxOverlaySlots int
maxComponentNodes int
maxSeamCandidateProbes int
maxExplicitEdges int
maxDependencyEntries int
maxSurfaceComponentEdges int

Properties

MaxBaselineAddresses

Gets the maximum address-filtered baseline entries consumed.

public int MaxBaselineAddresses { get; }

Property Value

int

MaxComponentNodes

Gets the maximum structural-component nodes processed.

public int MaxComponentNodes { get; }

Property Value

int

MaxConsumedEnvelopes

Gets the maximum detached GridForge envelopes consumed.

public int MaxConsumedEnvelopes { get; }

Property Value

int

MaxDependencyEntries

Gets the maximum dependency-index entries processed.

public int MaxDependencyEntries { get; }

Property Value

int

MaxExplicitEdges

Gets the maximum accepted explicit, seam, or transition edges processed.

public int MaxExplicitEdges { get; }

Property Value

int

MaxOverlaySlots

Gets the maximum semantic overlay slots processed.

public int MaxOverlaySlots { get; }

Property Value

int

MaxSeamCandidateProbes

Gets the maximum automatic-seam pair, source-address, and target-address probes.

public int MaxSeamCandidateProbes { get; }

Property Value

int

MaxSurfaceComponentEdges

Gets the maximum directed surface-edge candidates inspected by component work.

public int MaxSurfaceComponentEdges { get; }

Property Value

int

Methods

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

Equals(MaintenanceWorkBudget)

public bool Equals(MaintenanceWorkBudget other)

Parameters

other MaintenanceWorkBudget

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

Operators

operator ==(MaintenanceWorkBudget, MaintenanceWorkBudget)

Tests two budgets for equality.

public static bool operator ==(MaintenanceWorkBudget left, MaintenanceWorkBudget right)

Parameters

left MaintenanceWorkBudget
right MaintenanceWorkBudget

Returns

bool

operator !=(MaintenanceWorkBudget, MaintenanceWorkBudget)

Tests two budgets for inequality.

public static bool operator !=(MaintenanceWorkBudget left, MaintenanceWorkBudget right)

Parameters

left MaintenanceWorkBudget
right MaintenanceWorkBudget

Returns

bool