config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 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 Racing

type Racing struct {
	Agent         string  `yaml:"agent"`
	Population    int     `yaml:"population"`
	EliteFraction float64 `yaml:"elite_fraction"`
	MutationRate  float64 `yaml:"mutation_rate"`
	MutationStd   float64 `yaml:"mutation_std"`
	HiddenSize    int     `yaml:"hidden_size"`
	Rays          int     `yaml:"rays"`
	MaxSteps      int     `yaml:"max_steps"`
	Generations   int     `yaml:"generations"`
	Seed          int64   `yaml:"seed"`
}

func DefaultRacing

func DefaultRacing() Racing

func LoadRacing

func LoadRacing(path string) (Racing, error)

func (Racing) Validate

func (c Racing) Validate() error

Jump to

Keyboard shortcuts

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