16 #ifndef PAAL_FACILITY_LOCATION_HPP
17 #define PAAL_FACILITY_LOCATION_HPP
37 facility_location_gain_remove,
38 facility_location_commit_remove>;
45 facility_location_gain_add,
82 template <
typename SearchStrategy,
typename ContinueOnSuccess,
83 typename ContinueOnFail,
typename facility_location_solution,
86 SearchStrategy searchStrategy,
87 ContinueOnSuccess on_success,
88 ContinueOnFail on_fail,
92 return local_search(flsa, std::move(searchStrategy), std::move(on_success),
93 std::move(on_fail), std::move(comps)...);
106 template <
typename facility_location_solution,
typename...
components>
116 #endif // PAAL_FACILITY_LOCATION_HPP
gain functor for swap in facility location problem.
Multisearch_components< facility_locationget_moves_add, facility_location_gain_add, facility_location_commit_add > default_add_fl_components
add components for facility location
data_structures::components< GetMoves, Gain, Commit > components
Definition for the components class for local search usually this class is not directly used...
bool facility_location_local_search(facility_location_solution &fls, SearchStrategy searchStrategy, ContinueOnSuccess on_success, ContinueOnFail on_fail, components...comps)
this is model of LocalSearchStepMultiSolution concept. See Local Search. The Move is facility_locati...
commit functor for facility location problem
commit functor for add moves in facility location problem
Model of Multisearch_components with default multi search components for facility location...
search_components< Args...> Multisearch_components
Multisearch_components template alias.
bool facility_location_first_improving(facility_location_solution &fls, components...comps)
simple version of local search for facility location
bool local_search(Solution &solution, SearchStrategy searchStrategy, ContinueOnSuccess succ, ContinueOnFail fail, components...comps)
detail
get moves functor for facility location problem
This strategy uses find_positive_predicate as stop condition.
Multisearch_components< facility_locationget_moves_swap, facility_location_gain_swap, facility_location_commit_swap > default_swap_fl_components
Swap components for facility location.
facility_location_solution adapter chosen range and unchosen range must be joined into one homogenus ...