|
|
|
|
|
by reverseblade2
723 days ago
|
|
Hi,
Yes AI merely acts as an interface, not part of the algorithm. It's because trying to add everything as a UI, I personally find it challenging.
Also the options can exponentially grow. In the future I plan to add more sophisticated features as in "- Do not add Clothes over Shoes, while Shoes and Buttons can be stacked over each other but do not exceed 140 cm height." This in turn can be translated into a json level config but it is difficult to acquire user input with plain forms. There are 2 different algorithms. One is adding each box partitions space into 3 and those spaces are recursively filled. Eventually the problem is reduced to finding the correct permutation of boxes along with their correct orientation. That is primarily derived by simulated annealing of which I had good experience
with combinatory problems. Also some magic heuristics which I also don't fully understand takes into play :) |
|