Index
All Classes and Interfaces|All Packages
S
- search(ArrayList<Integer>) - Static method in class kkchengaf.EnchantmentOrder.BinaryTreeOptimization
-
Search
- searchAndParse(HashMap<String, Integer>) - Static method in class kkchengaf.EnchantmentOrder.Main
-
a wrapper to process input, search, and parse tree structure
- SearchResult - Class in kkchengaf.EnchantmentOrder
-
A class that store the Search Result,
Extends this class as you like - SearchResult(ArrayList<Integer>, BinaryTree, Integer, Integer) - Constructor for class kkchengaf.EnchantmentOrder.SearchResult
-
Constructor of the search result
- setCost(Integer) - Method in class kkchengaf.EnchantmentOrder.BinaryTree
-
set the total cost of enchantment weights
- setCost(Integer) - Method in class kkchengaf.EnchantmentOrder.NodeValue
-
set the equivalent cost of the enchantments
- setEnchant(HashMap<Integer, Integer>) - Method in class kkchengaf.EnchantmentOrder.NodeValue
-
set the enchantments
- setHeight(Integer) - Method in class kkchengaf.EnchantmentOrder.NodeValue
-
set the height
- setPrior(Integer) - Method in class kkchengaf.EnchantmentOrder.NodeValue
-
set the prior work penalty
- setValue(NodeValue) - Method in class kkchengaf.EnchantmentOrder.Node
-
set the data of this node
All Classes and Interfaces|All Packages