C# Class Encog.ML.Genetic.Genome.Chromosome

Datei anzeigen Open project: encog/encog-silverlight-core Class Usage Examples

Public Methods

Method Description
Add ( IGene gene ) : void

Add a gene.

Chromosome ( ) : System

Construct the object.

Get ( int i ) : IGene

Get an individual gene.

GetGene ( int gene ) : IGene

Get the specified gene.

Size ( ) : int

Method Details

Add() public method

Add a gene.
public Add ( IGene gene ) : void
gene IGene The gene to add.
return void

Chromosome() public method

Construct the object.
public Chromosome ( ) : System
return System

Get() public method

Get an individual gene.
public Get ( int i ) : IGene
i int The index of the gene.
return IGene

GetGene() public method

Get the specified gene.
public GetGene ( int gene ) : IGene
gene int The specified gene.
return IGene

Size() public method

public Size ( ) : int
return int