this method returns heuristics value for given state with respect to goal state concode_field_sep PlaceHolder placeHolder concode_field_sep State pushElementToExistingStacks concode_elem_sep void printEachStep concode_elem_sep List<State> getRouteWithHillClimbing concode_elem_sep State pushElementToStack concode_elem_sep State applyOperationsOnState concode_elem_sep Stack<String> getStackWithValues concode_elem_sep State findNextState concode_elem_sep void main concode_elem_sep int getHeuristicsValueForStack concode_elem_sep State pushElementToNewStack
int function ( List < Stack < String >> arg0 , Stack < String > arg1 ) { Integer loc0 ; loc0 = arg0 . stream ( ) . mapToInt ( stack -> { return getHeuristicsValueForStack ( stack , arg0 , arg1 ) ; } ) . sum ( ) ; return loc0 ; }