File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 66#include " vtr_assert.h"
77
88StaticMoveGenerator::StaticMoveGenerator (const std::vector<float >& prob) {
9- avail_moves.push_back (std::move (std:: make_unique<UniformMoveGenerator>() ));
10- avail_moves.push_back (std::move (std:: make_unique<MedianMoveGenerator>() ));
11- avail_moves.push_back (std::move (std:: make_unique<CentroidMoveGenerator>() ));
12- avail_moves.push_back (std::move (std:: make_unique<WeightedCentroidMoveGenerator>() ));
13- avail_moves.push_back (std::move (std:: make_unique<WeightedMedianMoveGenerator>() ));
14- avail_moves.push_back (std::move (std:: make_unique<CriticalUniformMoveGenerator>() ));
15- avail_moves.push_back (std::move (std:: make_unique<FeasibleRegionMoveGenerator>() ));
9+ avail_moves.emplace_back (std::make_unique<UniformMoveGenerator>());
10+ avail_moves.emplace_back (std::make_unique<MedianMoveGenerator>());
11+ avail_moves.emplace_back (std::make_unique<CentroidMoveGenerator>());
12+ avail_moves.emplace_back (std::make_unique<WeightedCentroidMoveGenerator>());
13+ avail_moves.emplace_back (std::make_unique<WeightedMedianMoveGenerator>());
14+ avail_moves.emplace_back (std::make_unique<CriticalUniformMoveGenerator>());
15+ avail_moves.emplace_back (std::make_unique<FeasibleRegionMoveGenerator>());
1616
1717 initialize_move_prob (prob);
1818}
You can’t perform that action at this time.
0 commit comments