C# Class geneticAlgo.indiv

Show file Open project: fabelier/tansegrity-game Class Usage Examples

Public Methods

Method Description
ToString ( ) : string
addDoubleToWeigths ( double d ) : void
eval ( bool set_eval = true ) : void
getEvalValue ( ) : double
getLayer ( int layer_num ) : List
getLayersRange ( int startpos, int endpos ) : List>
getNbLayer ( ) : int
getNbNeuronAtLayer ( int layer_num ) : int
getNeuron ( int layer_num, int Neuron_num ) : Nn.Neuron
getNn ( ) : Nn.Neural_network
indiv ( ) : System
indiv ( List Nn ) : System
indiv ( List data ) : System
indiv ( List data, double evalValue ) : System
indiv ( List size_layers ) : System
indiv ( indiv I ) : System
indiv ( indiv I, double eval ) : System
isEvalFinished ( ) : bool
setDataAtPos ( int layer_num, int Neuron_num, int weigth_num, double newData ) : void
setEvalValue ( double eval ) : void
setNeuralNetwork ( Nn Nn ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string

addDoubleToWeigths() public method

public addDoubleToWeigths ( double d ) : void
d double
return void

eval() public method

public eval ( bool set_eval = true ) : void
set_eval bool
return void

getEvalValue() public method

public getEvalValue ( ) : double
return double

getLayer() public method

public getLayer ( int layer_num ) : List
layer_num int
return List

getLayersRange() public method

public getLayersRange ( int startpos, int endpos ) : List>
startpos int
endpos int
return List>

getNbLayer() public method

public getNbLayer ( ) : int
return int

getNbNeuronAtLayer() public method

public getNbNeuronAtLayer ( int layer_num ) : int
layer_num int
return int

getNeuron() public method

public getNeuron ( int layer_num, int Neuron_num ) : Nn.Neuron
layer_num int
Neuron_num int
return Nn.Neuron

getNn() public method

public getNn ( ) : Nn.Neural_network
return Nn.Neural_network

indiv() public method

public indiv ( ) : System
return System

indiv() public method

public indiv ( List Nn ) : System
Nn List
return System

indiv() public method

public indiv ( List data ) : System
data List
return System

indiv() public method

public indiv ( List data, double evalValue ) : System
data List
evalValue double
return System

indiv() public method

public indiv ( List size_layers ) : System
size_layers List
return System

indiv() public method

public indiv ( indiv I ) : System
I indiv
return System

indiv() public method

public indiv ( indiv I, double eval ) : System
I indiv
eval double
return System

isEvalFinished() public method

public isEvalFinished ( ) : bool
return bool

setDataAtPos() public method

public setDataAtPos ( int layer_num, int Neuron_num, int weigth_num, double newData ) : void
layer_num int
Neuron_num int
weigth_num int
newData double
return void

setEvalValue() public method

public setEvalValue ( double eval ) : void
eval double
return void

setNeuralNetwork() public method

public setNeuralNetwork ( Nn Nn ) : void
Nn Nn
return void