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