These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

Abstract : GADirectedGraphParameterObject

This class is included as part of the file DirectedGraph.tz.
To use this class in a simulation, include the line "@use DirectedGraph."

Class description:

A GADirectedGraphParameterObject is a subclass of object which holds a parameter list for use with the GADirectedGraphNode and GADirectedGraphConnection objects. The elements in the parameter list are to be interpreted as evolving genome values which control how the graph nodes and connections are used.

Class methods:


get-parameters

Returns the parameter list.


mutate with-variation variation = 0.1 (double) with-replacement-probability replace = 0.1 (double)

Mutates the list of parameters in the list with a gaussian distribution of size variation, and a replace proability chance of total replacement.


randomize-parameters

Randomizes all of the parameters in the list to values between -1.0 and 1.0.


set-parameter-length to length (int)

Extends the size of the parameter list include at least length items by adding zeros to the end of the list.


set-parameters to plist (list)

Sets the parameter list to plist.


Documentation created Sun Oct 7 19:13:02 2007