35 for (
int i = 0; i < maxIterations; ++i) {
36 auto proposedState= ensemble.sampleNewState(currentState,
false);
37 bool transition = this->acceptMove(std::make_pair(proposedState,ensemble.constructMesoState(proposedState)),
38 std::make_pair(currentState,ensemble.constructMesoState(currentState)));
41 currentState = proposedState;