The method randomizes the gene, setting its type and value randomly.
public void Generate( ) { // give more chance to function Generate( ( rand.Next( 4 ) == 3 ) ? GPGeneType.Argument : GPGeneType.Function ); }