All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Namespaces | Functions
knapsack_unbounded_two_app.hpp File Reference
#include "paal/utils/accumulate_functors.hpp"
#include "paal/utils/type_functions.hpp"
#include "paal/greedy/knapsack/knapsack_greedy.hpp"
#include <boost/iterator/counting_iterator.hpp>
#include <boost/iterator/filter_iterator.hpp>
#include <type_traits>
#include <utility>

Go to the source code of this file.

Namespaces

 paal
 global namespace of project.
 
 paal::detail
 Detail namespace.
 

Functions

template<typename KnapsackData , typename ObjectIter = typename KnapsackData::object_iter, typename Size = typename KnapsackData::size, typename Value = typename KnapsackData::value>
std::tuple< Value, Size,
std::pair< ObjectIter,
unsigned > > 
paal::detail::get_greedy_fill (KnapsackData knap_data, unbounded_tag)
 
template<typename ObjectsIterAndNr , typename OutputIter >
void paal::detail::greedy_to_output (ObjectsIterAndNr most_dense_iter_and_nr, OutputIter &out, unbounded_tag)
 
template<typename OutputIterator , typename Objects , typename ObjectSizeFunctor , typename ObjectValueFunctor , typename std::enable_if<!detail::is_range_const< Objects >::value >::type * = nullptr>
detail::knapsack_base< Objects,
ObjectSizeFunctor,
ObjectValueFunctor >
::return_type 
paal::knapsack_unbounded_two_app (Objects &&objects, typename detail::FunctorOnRangePValue< ObjectSizeFunctor, Objects > capacity, OutputIterator out, ObjectValueFunctor value, ObjectSizeFunctor size)
 detail More...
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2013-10-07

Definition in file knapsack_unbounded_two_app.hpp.