Skip to content

RanGenEncoding:How to change the experiment

GiorgosMethe edited this page Apr 14, 2015 · 1 revision

Random generative encoding

You can change the default simulation template in Soft-Robots-Evolution/SimFiles/default/default.vxa to change most of the settings, but for the probabilities of adding new voxels and changing the material of the connection you can change them in RanGenEncoding.cpp:

// probability of adding a new voxel

const double PROB_ADD = 0.95;

// probability that the new voxel will be from the same material

const double PROB_SAME = 0.5;