File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# boxing.class.php
22
33this some kind of box packing algorithm,
4- check if n boxes fit in n bigger boxes
5- i use this for checking if items will fit a packaging box
6- if this algorithm says true: they do definitely fit
4+ check if n boxes fit in n bigger boxes.
5+ i use this for checking if items will fit a packaging box.
6+ if this algorithm says true: they do definitely fit,
77if this algorithm says false: they most probably will not fit, but this is a program, not a cop.
88
99## disclaimer
1010
11- this is not an accurate solution for knapsack or any of those fancy np-complete combinatory problems
12- i am not a mathematican, i have no idea what i am talking about, and also the german wikipedia sucks on this topic
13- quick and dirty, works for me, public domain, donations very welcome
11+ this is not an accurate solution for knapsack or any of those fancy np-complete combinatory problems.
12+ i am not a mathematican, i have no idea what i am talking about, and also the german wikipedia sucks on this topic.
13+ quick and dirty, works for me, public domain, donations very welcome.
1414
1515## author
1616
You can’t perform that action at this time.
0 commit comments