public abstract class ActionTree<TKey> extends SearchTree<TKey,Action>
SearchTree.ValueComparer
Modifier and Type | Field and Description |
---|---|
protected double |
multiplier |
comparer, currentID, flatten, paramCount
Constructor and Description |
---|
ActionTree(ActionTree<TKey> other,
double multiplier) |
ActionTree(double multiplier) |
Modifier and Type | Method and Description |
---|---|
Action |
get(java.lang.Integer id) |
double |
getMultiplier() |
java.util.Collection<Action> |
getValues()
Returns a list of every stored range (scaled by experience) in this search tree.
|
containsKey, get, getAllRanked, getAllRankedID, getFromParameters, put, putAll, putAllParameters, putFromParameters
public ActionTree(double multiplier)
public ActionTree(ActionTree<TKey> other, double multiplier)
public Action get(java.lang.Integer id)
get
in class SearchTree<TKey,Action>
public java.util.Collection<Action> getValues()
getValues
in class SearchTree<TKey,Action>
public double getMultiplier()