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
maxConsumedEnvelopesintmaxBaselineAddressesintmaxOverlaySlotsintmaxComponentNodesintmaxSeamCandidateProbesintmaxExplicitEdgesintmaxDependencyEntriesintmaxSurfaceComponentEdgesint
Properties
MaxBaselineAddresses
Gets the maximum address-filtered baseline entries consumed.
public int MaxBaselineAddresses { get; }
Property Value
MaxComponentNodes
Gets the maximum structural-component nodes processed.
public int MaxComponentNodes { get; }
Property Value
MaxConsumedEnvelopes
Gets the maximum detached GridForge envelopes consumed.
public int MaxConsumedEnvelopes { get; }
Property Value
MaxDependencyEntries
Gets the maximum dependency-index entries processed.
public int MaxDependencyEntries { get; }
Property Value
MaxExplicitEdges
Gets the maximum accepted explicit, seam, or transition edges processed.
public int MaxExplicitEdges { get; }
Property Value
MaxOverlaySlots
Gets the maximum semantic overlay slots processed.
public int MaxOverlaySlots { get; }
Property Value
MaxSeamCandidateProbes
Gets the maximum automatic-seam pair, source-address, and target-address probes.
public int MaxSeamCandidateProbes { get; }
Property Value
MaxSurfaceComponentEdges
Gets the maximum directed surface-edge candidates inspected by component work.
public int MaxSurfaceComponentEdges { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(MaintenanceWorkBudget)
public bool Equals(MaintenanceWorkBudget other)
Parameters
otherMaintenanceWorkBudget
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(MaintenanceWorkBudget, MaintenanceWorkBudget)
Tests two budgets for equality.
public static bool operator ==(MaintenanceWorkBudget left, MaintenanceWorkBudget right)
Parameters
leftMaintenanceWorkBudgetrightMaintenanceWorkBudget
Returns
operator !=(MaintenanceWorkBudget, MaintenanceWorkBudget)
Tests two budgets for inequality.
public static bool operator !=(MaintenanceWorkBudget left, MaintenanceWorkBudget right)
Parameters
leftMaintenanceWorkBudgetrightMaintenanceWorkBudget