C# Класс SharpNeat.Domains.SinglePoleBalancing.SinglePoleBalancingExperiment

INeatExperiment for the single pole balancing task.
Наследование: IGuiNeatExperiment
Показать файл Открыть проект

Открытые методы

Метод Описание
CreateDomainView ( ) : AbstractDomainView

Create a System.Windows.Forms derived object for displaying output for a domain (e.g. show best genome's output/performance/behaviour in the domain).

CreateEvolutionAlgorithm ( ) : NeatEvolutionAlgorithm

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. Uses the experiments default population size defined in the experiment's config XML.

CreateEvolutionAlgorithm ( IGenomeFactory genomeFactory, List genomeList ) : NeatEvolutionAlgorithm

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. This overload accepts a pre-built genome population and their associated/parent genome factory.

CreateEvolutionAlgorithm ( int populationSize ) : NeatEvolutionAlgorithm

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. This overload accepts a population size parameter that specifies how many genomes to create in an initial randomly generated population.

CreateGenomeDecoder ( ) : IBlackBox>.IGenomeDecoder

Create a genome decoder for the experiment.

CreateGenomeFactory ( ) : IGenomeFactory

Create a genome factory for the experiment. Create a genome factory with our neat genome parameters object and the appropriate number of input and output neuron genes.

CreateGenomeView ( ) : AbstractGenomeView

Create a System.Windows.Forms derived object for displaying genomes.

Initialize ( string name, XmlElement xmlConfig ) : void

Initialize the experiment with some optional XML configuration data.

LoadPopulation ( XmlReader xr ) : List

Load a population of genomes from an XmlReader and returns the genomes in a new list. The genome factory for the genomes can be obtained from any one of the genomes.

SavePopulation ( XmlWriter xw, IList genomeList ) : void

Save a population of genomes to an XmlWriter.

SinglePoleBalancingExperiment ( ) : System.Collections.Generic

Default constructor.

Описание методов

CreateDomainView() публичный Метод

Create a System.Windows.Forms derived object for displaying output for a domain (e.g. show best genome's output/performance/behaviour in the domain).
public CreateDomainView ( ) : AbstractDomainView
Результат AbstractDomainView

CreateEvolutionAlgorithm() публичный Метод

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. Uses the experiments default population size defined in the experiment's config XML.
public CreateEvolutionAlgorithm ( ) : NeatEvolutionAlgorithm
Результат NeatEvolutionAlgorithm

CreateEvolutionAlgorithm() публичный Метод

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. This overload accepts a pre-built genome population and their associated/parent genome factory.
public CreateEvolutionAlgorithm ( IGenomeFactory genomeFactory, List genomeList ) : NeatEvolutionAlgorithm
genomeFactory IGenomeFactory
genomeList List
Результат NeatEvolutionAlgorithm

CreateEvolutionAlgorithm() публичный Метод

Create and return a NeatEvolutionAlgorithm object ready for running the NEAT algorithm/search. Various sub-parts of the algorithm are also constructed and connected up. This overload accepts a population size parameter that specifies how many genomes to create in an initial randomly generated population.
public CreateEvolutionAlgorithm ( int populationSize ) : NeatEvolutionAlgorithm
populationSize int
Результат NeatEvolutionAlgorithm

CreateGenomeDecoder() публичный Метод

Create a genome decoder for the experiment.
public CreateGenomeDecoder ( ) : IBlackBox>.IGenomeDecoder
Результат IBlackBox>.IGenomeDecoder

CreateGenomeFactory() публичный Метод

Create a genome factory for the experiment. Create a genome factory with our neat genome parameters object and the appropriate number of input and output neuron genes.
public CreateGenomeFactory ( ) : IGenomeFactory
Результат IGenomeFactory

CreateGenomeView() публичный Метод

Create a System.Windows.Forms derived object for displaying genomes.
public CreateGenomeView ( ) : AbstractGenomeView
Результат AbstractGenomeView

Initialize() публичный Метод

Initialize the experiment with some optional XML configuration data.
public Initialize ( string name, XmlElement xmlConfig ) : void
name string
xmlConfig System.Xml.XmlElement
Результат void

LoadPopulation() публичный Метод

Load a population of genomes from an XmlReader and returns the genomes in a new list. The genome factory for the genomes can be obtained from any one of the genomes.
public LoadPopulation ( XmlReader xr ) : List
xr System.Xml.XmlReader
Результат List

SavePopulation() публичный Метод

Save a population of genomes to an XmlWriter.
public SavePopulation ( XmlWriter xw, IList genomeList ) : void
xw System.Xml.XmlWriter
genomeList IList
Результат void

SinglePoleBalancingExperiment() публичный Метод

Default constructor.
public SinglePoleBalancingExperiment ( ) : System.Collections.Generic
Результат System.Collections.Generic