C# Class Nn.Neuron

Afficher le fichier Open project: fabelier/tansegrity-game Class Usage Examples

Méthodes publiques

Méthode Description
Neuron ( ) : UnityEngine
Neuron ( List inputs, System rand ) : UnityEngine
Neuron ( List weight, List input, System rand, bool bias = true ) : UnityEngine
Neuron ( List weight, System rand, bool bias = true ) : UnityEngine
Neuron ( Neuron N ) : UnityEngine
Neuron ( int n_weights, System rand, bool bias = true ) : UnityEngine
activation ( double val, double lambda = 0.2 ) : double
combinaison ( ) : double
fire ( ) : double
getAllInput ( ) : List
getBias ( ) : double
getInput ( int position ) : double
getNbWeigths ( ) : int
getWeigth ( int position ) : double
setBias ( double bias ) : void
setInput ( Input input, int position ) : void
setInput ( double input, int position ) : void
setWeight ( double weights, int position ) : void
toString ( bool debug ) : string

Private Methods

Méthode Description
combinaison ( List inputs ) : double
main ( List inputs ) : void

Method Details

Neuron() public méthode

public Neuron ( ) : UnityEngine
Résultat UnityEngine

Neuron() public méthode

public Neuron ( List inputs, System rand ) : UnityEngine
inputs List
rand System
Résultat UnityEngine

Neuron() public méthode

public Neuron ( List weight, List input, System rand, bool bias = true ) : UnityEngine
weight List
input List
rand System
bias bool
Résultat UnityEngine

Neuron() public méthode

public Neuron ( List weight, System rand, bool bias = true ) : UnityEngine
weight List
rand System
bias bool
Résultat UnityEngine

Neuron() public méthode

public Neuron ( Neuron N ) : UnityEngine
N Neuron
Résultat UnityEngine

Neuron() public méthode

public Neuron ( int n_weights, System rand, bool bias = true ) : UnityEngine
n_weights int
rand System
bias bool
Résultat UnityEngine

activation() public méthode

public activation ( double val, double lambda = 0.2 ) : double
val double
lambda double
Résultat double

combinaison() public méthode

public combinaison ( ) : double
Résultat double

fire() public méthode

public fire ( ) : double
Résultat double

getAllInput() public méthode

public getAllInput ( ) : List
Résultat List

getBias() public méthode

public getBias ( ) : double
Résultat double

getInput() public méthode

public getInput ( int position ) : double
position int
Résultat double

getNbWeigths() public méthode

public getNbWeigths ( ) : int
Résultat int

getWeigth() public méthode

public getWeigth ( int position ) : double
position int
Résultat double

setBias() public méthode

public setBias ( double bias ) : void
bias double
Résultat void

setInput() public méthode

public setInput ( Input input, int position ) : void
input Input
position int
Résultat void

setInput() public méthode

public setInput ( double input, int position ) : void
input double
position int
Résultat void

setWeight() public méthode

public setWeight ( double weights, int position ) : void
weights double
position int
Résultat void

toString() public méthode

public toString ( bool debug ) : string
debug bool
Résultat string