resolution

package
v1.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Resolve

Resolve iterates backwards over the bidirectional tree, iteratively checking the leftmost counter of each claim, and updating the claim's counter claimant. Once the root claim is reached, the resolution game status is returned.

Types

type DelayCalculator

type DelayCalculator struct {
	// contains filtered or unexported fields
}

func NewDelayCalculator

func NewDelayCalculator(metrics DelayMetrics, clock clock.Clock) *DelayCalculator

func (*DelayCalculator) RecordClaimResolutionDelayMax

func (d *DelayCalculator) RecordClaimResolutionDelayMax(games []*monTypes.EnrichedGameData)

type DelayMetrics

type DelayMetrics interface {
	RecordClaimResolutionDelayMax(delay float64)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL