return zero.cost(layer, value);
}
public double getCostByState(int layer, int value, int state) {
ICounter zero = counters.get(0);
return zero.cost(layer, value, state);
}
public double getCostByResource(int layer, int value, int counter) {
ICounter aCounter = counters.get(counter);
return aCounter.cost(layer, value);