PerturbPositionSwap

class PerturbPositionSwap : public feasst::PerturbMove

Assumes the selection is two mobiles sites. Swap the positions of these.

Note that this Perturb should always have 1 steps per stage, as its placement is completely deterministic.

Public Functions

void move(const bool is_position_held, System *system, TrialSelect *select, Random *random, Acceptance *acceptance)

Move the selection of the system.