macop.evaluators.knapsacks¶
Knapsack evaluators classes
Classes
|
Knapsack evaluator class which enables to compute solution using specific _data |
-
class
macop.evaluators.knapsacks.
KnapsackEvaluator
(data)[source]¶ Knapsack evaluator class which enables to compute solution using specific _data
stores into its _data dictionary attritute required measures when computing a knapsack solution
_data[‘worths’] stores knapsack objects worths information
compute method enables to compute and associate a score to a given knapsack solution