maxruntime

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MaxRuntime

type MaxRuntime struct {
	MaxRuntime time.Duration
	// contains filtered or unexported fields
}

func NewMaxRuntime

func NewMaxRuntime(maxRuntime time.Duration) MaxRuntime

func (*MaxRuntime) IsDone

func (s *MaxRuntime) IsDone(rnd *rand.Rand, best, current alns.State) (bool, error)

Jump to

Keyboard shortcuts

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