Documentation
¶
Index ¶
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 ¶
Types ¶
type Actor ¶
type Actor struct {
entity_manager.BaseActor
// contains filtered or unexported fields
}
func NewActor ¶
func NewActor(entity *m.Entity, entityManager entity_manager.EntityManager, adaptors *adaptors.Adaptors, scriptService scripts.ScriptService, eventBus bus.Bus) *Actor
func (*Actor) Spawn ¶
func (e *Actor) Spawn() entity_manager.PluginActor
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 NewNetwork2(eventBus bus.Bus, entityManager entity_manager.EntityManager) (net *Network2)
func (*Network2) SelectPopulation ¶
func (e *Network2) SelectPopulation()
type TrainingData ¶
func GenerateTrainingData ¶
func GenerateTrainingData() []TrainingData
Click to show internal directories.
Click to hide internal directories.