All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Public Member Functions | List of all members
paal::greedy::detail::selector< Budget, SetCost, SetIdToData, ElementWeight, SetIdToElements, ElementIndex, GetWeightOfElement, DecreseWeight > Class Template Reference

Public Member Functions

 selector (const Budget budget, SetCost &cost_of_solution, SetIdToData &sets_data, const ElementWeight &weight_of_bests_solution, ElementWeight &weight_of_covered_elements, SetIdToElements set_id_to_elements, std::vector< int > &covered_by, std::vector< std::vector< int >> &sets_covering_element, ElementIndex &get_el_index, GetWeightOfElement &element_to_weight, DecreseWeight decrese_weight)
 
bool select_set_backtrack (int selected_set_id, bool in_reset=false)
 
bool select_set_greedy (int selected_set_id)
 
void deselect_set (int selected_set_id, bool backtrack=true)
 
void set_unprocessed (boost::iterator_range< std::vector< int >::const_iterator > const &set_ids)
 
void reset ()
 
std::size_t size ()
 
void resize (std::size_t size)
 
template<typename OutputIterator >
void copy_to (OutputIterator out)
 

Detailed Description

template<class Budget, class SetCost, class SetIdToData, class ElementWeight, class SetIdToElements, class ElementIndex, class GetWeightOfElement, typename DecreseWeight>
class paal::greedy::detail::selector< Budget, SetCost, SetIdToData, ElementWeight, SetIdToElements, ElementIndex, GetWeightOfElement, DecreseWeight >

Definition at line 56 of file budgeted_maximum_coverage.hpp.


The documentation for this class was generated from the following file: