Class BinaryTreeOptimization

java.lang.Object
kkchengaf.EnchantmentOrder.BinaryTreeOptimization

public class BinaryTreeOptimization extends Object
static class of searching the optimal order
  • Constructor Details

    • BinaryTreeOptimization

      public BinaryTreeOptimization()
  • Method Details

    • search

      public static SearchResult search(ArrayList<Integer> enchantmentWeights)
      Search
      Parameters:
      enchantmentWeights - a ArrayList of enchantment costs, order independent
      Returns:
      a SearchResult Object