class Crystlush::Generator

Overview

Generates new crystlush genomes.

Defined in:

crystlush/generator.cr

Instance Method Summary

Instance Method Detail

def configuration : Configuration #

[View source]
def configuration=(configuration : Configuration) #

[View source]
def generate : Array(Gene) #

[View source]
def pick_gene(rng : Random) : Gene #

[View source]
def pick_literal(rng : Random) : String #

[View source]
def pick_operation(rng : Random) : String #

[View source]
def random_element(array : Array, rng : Random) #

[View source]