15 #ifndef PAAL_FACILITY_LOCATION_REMOVE_HPP
16 #define PAAL_FACILITY_LOCATION_REMOVE_HPP
21 #include <boost/iterator/iterator_adaptor.hpp>
22 #include <boost/iterator/transform_iterator.hpp>
46 template <
typename Solution,
typename ChosenElement>
48 auto ret = s.remove_facility_tentative(e);
50 auto back = s.add_facility_tentative(e);
68 template <
typename Solution,
typename ChosenElement>
87 template <
typename Solution>
89 return sol.getChosenCopy();
96 #endif // PAAL_FACILITY_LOCATION_REMOVE_HPP
gain functor for facility location
auto operator()(const Solution &sol)
operator()
get moves functor for facility location remove
commit functor for facility location
auto operator()(Solution &s, ChosenElement e)
operator()
bool local_search(Solution &solution, SearchStrategy searchStrategy, ContinueOnSuccess succ, ContinueOnFail fail, components...comps)
detail
bool operator()(Solution &s, ChosenElement e)
operator()