Package kkchengaf.EnchantmentOrder
Class BinaryTreeOptimization
java.lang.Object
kkchengaf.EnchantmentOrder.BinaryTreeOptimization
static class of searching the optimal order
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BinaryTreeOptimization
public BinaryTreeOptimization()
-
-
Method Details
-
search
Search- Parameters:
enchantmentWeights
- a ArrayList of enchantment costs, order independent- Returns:
- a SearchResult Object
-