GEP::Core::Float::Constant Class Reference

Constants are numbers that do not change in one generation. More...

Inheritance diagram for GEP::Core::Float::Constant:

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

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Constant (string name)
 Creates a constant with _value 0.
 Constant (float value, string name)
override float Value (float[] parameters, int startIndex)
 Gets the __value of the constant.
override string ToString ()
 Gets the name of the constant, followed by ", " and than the _value.
 Constant (Constant symbol)
 Clones symbol .
override GEP.Core.Common.Symbol Clone ()
 Clones this instance.

Public Attributes

float _value
 Value of the constant.

Protected Attributes

string _name
int _n_Parameters

Properties

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


Detailed Description

Constants are numbers that do not change in one generation.

Definition at line 12 of file Constant.cs.


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