Function cif::nudge

Function Documentation

point cif::nudge(point p, float offset)

For e.g. simulated annealing, returns a new point that is moved in a random direction with a distance randomly chosen from a normal distribution with a stddev of offset.