elite

package module
v0.4.3 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package elite provides an implementation of the Selection interface that selects the best agent from the previous generation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Selection

type Selection[T any] struct {
	// contains filtered or unexported fields
}

func (*Selection[T]) Select

func (s *Selection[T]) Select() *goevo.Agent[T]

func (*Selection[T]) SetAgents

func (s *Selection[T]) SetAgents(agents []*goevo.Agent[T])

Jump to

Keyboard shortcuts

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