PerturbTranslate

class PerturbTranslate : public feasst::PerturbMove

Translate the positions of the selection uniformly random within postivie and negative tunable parameter values. The tunable parameter must be within the bounds of 2*NEAR_ZERO and half of Domain::max_side_length.

Arguments

  • dimension: if == -1, uniform translation in all dimensions (default: -1). Otherwise, translate only specifically +/- value (without tuning) in specific dimension.