Struct GuideSampleWorkBudget
- Namespace
- Trailblazer.Pathing
- Assembly
- Trailblazer.dll
Defines finite deterministic work limits for one guide sampling operation.
public readonly struct GuideSampleWorkBudget : IEquatable<GuideSampleWorkBudget>
- Implements
- Inherited Members
Constructors
GuideSampleWorkBudget(int, int, int, int, int, int, int)
Creates a finite guide sample work budget. Zero disables the corresponding category of work.
public GuideSampleWorkBudget(int maxCurrentNodeLookupProbes, int maxCursorLegScans, int maxCursorRebases, int maxPortalChecks, int maxPrismChecks, int maxTraceIntervals, int maxLocalRecoveryAttempts)
Parameters
maxCurrentNodeLookupProbesintmaxCursorLegScansintmaxCursorRebasesintmaxPortalChecksintmaxPrismChecksintmaxTraceIntervalsintmaxLocalRecoveryAttemptsint
Exceptions
- ArgumentOutOfRangeException
Thrown when any limit is negative.
Properties
MaxCurrentNodeLookupProbes
Gets the maximum number of current-node lookup probes.
public int MaxCurrentNodeLookupProbes { get; }
Property Value
MaxCursorLegScans
Gets the maximum number of cursor-leg scans.
public int MaxCursorLegScans { get; }
Property Value
MaxCursorRebases
Gets the maximum number of cursor rebases.
public int MaxCursorRebases { get; }
Property Value
MaxLocalRecoveryAttempts
Gets the maximum number of local recovery attempts.
public int MaxLocalRecoveryAttempts { get; }
Property Value
MaxPortalChecks
Gets the maximum number of portal checks.
public int MaxPortalChecks { get; }
Property Value
MaxPrismChecks
Gets the maximum number of prism checks.
public int MaxPrismChecks { get; }
Property Value
MaxTraceIntervals
Gets the maximum number of trace intervals visited.
public int MaxTraceIntervals { get; }
Property Value
Methods
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
Equals(GuideSampleWorkBudget)
public bool Equals(GuideSampleWorkBudget other)
Parameters
otherGuideSampleWorkBudget
Returns
GetHashCode()
public override int GetHashCode()
Returns
Operators
operator ==(GuideSampleWorkBudget, GuideSampleWorkBudget)
Returns whether two budgets have exactly equal limits.
public static bool operator ==(GuideSampleWorkBudget left, GuideSampleWorkBudget right)
Parameters
leftGuideSampleWorkBudgetrightGuideSampleWorkBudget
Returns
operator !=(GuideSampleWorkBudget, GuideSampleWorkBudget)
Returns whether two budgets differ.
public static bool operator !=(GuideSampleWorkBudget left, GuideSampleWorkBudget right)
Parameters
leftGuideSampleWorkBudgetrightGuideSampleWorkBudget