def solve(self):
if not isinstance(self.cube, Cube):<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>self.recognise()<EOL>self.cube(algo_dict[self.case])<EOL>return algo_dict[self.case]<EOL>
Solve the OLL. Returns an Formula.