I'm using an Hashmap to keep float values:
...
public HashMap qValues = new HashMap(10000,(float)0.75);
...
qValues.put(p.hashCode(), new Float (v));
...
p is a class of two different strings (Pair state/action). The hash code generated is the sum of the hash code of each different string
v is the value i want to keep (Q value in Reinforcement Learning )
Thanks for the reply
