Documentation ¶
Index ¶
- Constants
- func New() supervisor.Pluggable
- func NewActions() map[string]supervisor.ActorAction
- func NewAttr() m.Attributes
- func NewSettings() m.Attributes
- func NewStates() (states map[string]supervisor.ActorState)
- type Actor
- type Game
- type GameState
- type Move
- type Network1
- type Network2
- type TrainingData
Constants ¶
View Source
const ( PopulationSize = 100 PopSizeChRandom = false )
View Source
const ( Name = "neural_network" EntityNeuralNetwork = string("neural_network") )
View Source
const ( SettingParam1 = "param1" SettingParam2 = "param2" AttrPhase = "phase" StateEnabled = "enabled" StateDisabled = "disabled" ActionEnabled = "enable" ActionDisable = "disable" Version = "0.0.1" )
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() supervisor.Pluggable
Types ¶
type Actor ¶
type Actor struct { *supervisor.BaseActor // contains filtered or unexported fields }
type Network1 ¶
type Network1 struct {
// contains filtered or unexported fields
}
func NewNetwork1 ¶
type Network2 ¶
type Network2 struct {
// contains filtered or unexported fields
}
func NewNetwork2 ¶
func (*Network2) SelectPopulation ¶
func (e *Network2) SelectPopulation()
type TrainingData ¶
func GenerateTrainingData ¶
func GenerateTrainingData() []TrainingData
Click to show internal directories.
Click to hide internal directories.