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

A gene that holds an integer.
Inheritance: BasicGene
显示文件 Open project: encog/encog-silverlight-core

Public Methods

Method Description
Copy ( IGene gene ) : void

Copy another gene to this one.

Equals ( Object obj ) : bool

Determine if this gene has the same values as another.

GetHashCode ( ) : int

Generate a hash code.

ToString ( ) : String

The gene as a string.

Method Details

Copy() public method

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

Equals() public method

Determine if this gene has the same values as another.
public Equals ( Object obj ) : bool
obj Object The other object.
return bool

GetHashCode() public method

Generate a hash code.
public GetHashCode ( ) : int
return int

ToString() public method

The gene as a string.
public ToString ( ) : String
return String