Visualization

Evoasm provides means to visualize loss functions and found programs.

Loss Functions

Loss functions can be visualized by using Evoasm::Population#plot which will plot the loss function using Gnuplot. If a filename is provided, the loss function graph is saved to file. Otherwise, a window will open.

Each column represents a deme. The first row shows program losses, the following rows kernel losses.

Loss functions

Programs

In a similar fashion, programs can be visualized using Graphviz. Use Evoasm::Program#to_gv to obtain a GV::Graph, which can be saved to a file using GV::Graph#save.

Function