greedy_knapsack: Greedy solution for the knapsack problem

Description Usage Arguments Value

View source: R/greedy_knapsack.R

Description

Greedy solution for the knapsack problem

Usage

1

Arguments

x

data structure of weights and values

W

max weight

Value

most valued combination of elements which fits backpack and the maximum value achieved


martynas2514/Lab06 documentation built on Oct. 13, 2020, 8:38 p.m.