private double lrtaCost(Object s, Action action, Object sPrime) { // if s' is undefined then return h(s) if (null == sPrime) { return getHeuristicFunction().h(s); } // else return c(s, a, s') + H[s'] return getProblem().getStepCostFunction().c(s, action, sPrime) + H.get(sPrime); }