All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Namespaces | Functions
knapsack_common.hpp File Reference
#include "paal/dynamic/knapsack/get_bound.hpp"

Go to the source code of this file.

Namespaces

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

Functions

template<typename KnapsackData , typename Is_0_1_Tag , typename RetrieveSolution = retrieve_solution_tag, typename Value = typename KnapsackData::value, typename Size = typename KnapsackData::size>
KnapsackData::return_type paal::detail::knapsack_check_integrality (KnapsackData knap_data, Is_0_1_Tag is_0_1_Tag, RetrieveSolution retrieve_solutionTag=RetrieveSolution{})
 
template<typename KnapsackData , typename IntegralTag , typename RetrieveSolution , typename Is_0_1_Tag , typename = typename std::enable_if<std::is_same< non_integral_value_and_size_tag, IntegralTag>::value>::type>
KnapsackData::return_type paal::detail::knapsack (KnapsackData, Is_0_1_Tag is_0_1_Tag, IntegralTag, RetrieveSolution retrieve_solution)
 
template<typename KnapsackData , typename Is_0_1_Tag , typename RetrieveSolution >
KnapsackData::return_type paal::detail::knapsack (KnapsackData knap_data, Is_0_1_Tag is_0_1_Tag, integral_value_and_size_tag, RetrieveSolution retrieve_solutionTag)
 Solution to Knapsack problem overload for integral Size and Value case.
 

Detailed Description

Author
Piotr Wygocki
Version
1.0
Date
2013-09-30

Definition in file knapsack_common.hpp.