@staticmethod<EOL><INDENT>def combining_successors(state, last_action=()):<DEDENT>
((corner, edge), (L, U, F, D, R, B)) = state<EOL>U_turns = [Formula("<STR_LIT>"), Formula("<STR_LIT>"), Formula("<STR_LIT>")] if len(last_action) != <NUM_LIT:1> else []<EOL>R_turns = [Formula("<STR_LIT>"), Formula("<STR_LIT>"), Formula("<STR_LIT>")] if "<STR_LIT:R>" not in last_action else []<EOL>F_turns = [Formula("<STR_LIT>"), Formula("<STR_LIT>"), Formula("<STR_LIT>")] if "<STR_LIT:F>" not in last_action else []<EOL>for act in (U_turns + R_turns + F_turns):<EOL><INDENT>new = (corner, edge)<EOL>for q in act:<EOL><INDENT>new = F2LPairSolver._rotate(new, q)<EOL><DEDENT>yield act, (new, (L, U, F, D, R, B))<EOL><DEDENT>
Successors function for finding path of combining F2L pair.