C# Class Encog.Neural.Networks.Training.Competitive.Neighborhood.NeighborhoodRBF

Implements a multi-dimensional RBF neighborhood function.
Inheritance: INeighborhoodFunction
Mostra file Open project: encog/encog-silverlight-core

Public Methods

Method Description
Function ( int currentNeuron, int bestNeuron ) : double

Calculate the value for the multi RBF function.

NeighborhoodRBF ( RBFEnum type, int x, int y ) : System

Construct a 2d neighborhood function based on the sizes for the x and y dimensions.

NeighborhoodRBF ( int size, IRadialBasisFunction rbf ) : System

Construct a multi-dimensional neighborhood function.

Private Methods

Method Description
CalculateDisplacement ( ) : void

Calculate all of the displacement values.

TranslateCoordinates ( int index ) : int[]

Translate the specified index into a set of multi-dimensional coordinates that represent the same index. This is how the multi-dimensional coordinates are translated into a one dimensional index for the input neurons.

Method Details

Function() public method

Calculate the value for the multi RBF function.
public Function ( int currentNeuron, int bestNeuron ) : double
currentNeuron int The current neuron.
bestNeuron int The best neuron.
return double

NeighborhoodRBF() public method

Construct a 2d neighborhood function based on the sizes for the x and y dimensions.
public NeighborhoodRBF ( RBFEnum type, int x, int y ) : System
type RBFEnum The RBF type to use.
x int The size of the x-dimension.
y int The size of the y-dimension.
return System

NeighborhoodRBF() public method

Construct a multi-dimensional neighborhood function.
public NeighborhoodRBF ( int size, IRadialBasisFunction rbf ) : System
size int The sizes of each dimension.
rbf IRadialBasisFunction The multi-dimensional RBF to use.
return System