GEP::Core::Float::Functions::SquashedMultipleAddition Class Reference

Subjects a predefined number of parameters to MultipleAddition and the result is squashed. More...

Inheritance diagram for GEP::Core::Float::Functions::SquashedMultipleAddition:

Inheritance graph
[legend]
Collaboration diagram for GEP::Core::Float::Functions::SquashedMultipleAddition:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SquashedMultipleAddition (int n_Parameters, Symbol squashFunction)
override float Value (float[] parameters, int startIndex)
 Calculates the value of the symbol.
 SquashedMultipleAddition (SquashedMultipleAddition symbol)
 Creates a clone of symbol .
override GEP.Core.Common.Symbol Clone ()
 Clones this instance.
override string ToString ()

Protected Attributes

Symbol _squashFunction
 The squash function. This function must accept 1 argument.
float[] _parameters = new float[1]
 A draft to save the result from the multiple addition.
string _name
int _n_Parameters

Static Protected Attributes

static string NAME = "Squashed Multiple +"
 The display name "Squashed Multiple +" of the function.

Properties

string Name [get]
 Gets the name of this symbol.
int N_Parameters [get]
 The number of parameters the symbol accepts.


Detailed Description

Subjects a predefined number of parameters to MultipleAddition and the result is squashed.

Definition at line 13 of file SquashedMultipleAddition.cs.


The documentation for this class was generated from the following file:
GEP .NET Framwork Main Page
SourceForge.net Logo