Knapsack problem/Continuous: Difference between revisions
Content added Content deleted
Walterpachl (talk | contribs) (→{{header|ooRexx}}: add version 2 (simplified from version 1)) |
Walterpachl (talk | contribs) m (→version 2: ooRexx version 2 - typo) |
||
Line 1,340: | Line 1,340: | ||
* utilizing ooRexx features like objects, array(s) and sort |
* utilizing ooRexx features like objects, array(s) and sort |
||
* 21.09.2014 simplified (courtesy Rony Flatscher) |
* 21.09.2014 simplified (courtesy Rony Flatscher) |
||
* (sort uses now the |
* (sort uses now the method '''compareTo''' defined for item) |
||
*-------------------------------------------------------------------*/ |
*-------------------------------------------------------------------*/ |
||
maxweight = 15.0 |
maxweight = 15.0 |