C# Class Encog.Solve.Genetic.Genes.BasicGene

Implements the basic functionality for a gene. This is an abstract class.
Inheritance: IGene
显示文件 Open project: encog/encog-silverlight-core

Public Methods

Method Description
BasicGene ( ) : System

Default constructor.

CompareTo ( IGene o ) : int

Compare to another gene, sort by innovation id's.

Copy ( IGene gene ) : void

Copy another gene to this one.

Method Details

BasicGene() public method

Default constructor.
public BasicGene ( ) : System
return System

CompareTo() public method

Compare to another gene, sort by innovation id's.
public CompareTo ( IGene o ) : int
o IGene The other object to compare to.
return int

Copy() public abstract method

Copy another gene to this one.
public abstract Copy ( IGene gene ) : void
gene IGene The other gene to copy.
return void