1.0 KiB
1.0 KiB
CommandRucksack
Properties
Name | Type | Description | Notes |
---|---|---|---|
name | EnumAlgorithmNames | [default to null] | |
algorithm | EnumRucksackAlgorithm | [default to null] | |
allowMinusfractional | Boolean | [optional] [default to false] | |
maxMinuscost | BigDecimal | Upper bound for total cost of rucksack. | [default to null] |
costs | List | Array of cost for each item (e.g. volume, weight, price, time, etc.). | [default to null] |
values | List | Value extracted from each item (e.g. energy, profit, etc.). | [default to null] |
items | List | Optional names of the items (if empty, defaults to 1-based indexes). | [optional] [default to []] |