def _getTPClass(temporalImp):
if temporalImp == '<STR_LIT>':<EOL><INDENT>return backtracking_tm.BacktrackingTM<EOL><DEDENT>elif temporalImp == '<STR_LIT>':<EOL><INDENT>return backtracking_tm_cpp.BacktrackingTMCPP<EOL><DEDENT>elif temporalImp == '<STR_LIT>':<EOL><INDENT>return backtracking_tm_shim.TMShim<EOL><DEDENT>elif temporalImp == '<STR_LIT>':<EOL><INDENT>return backtracking_tm_shim.TMCPPShim<EOL><DEDENT>elif temporalImp == '<STR_LIT>':<EOL><INDENT>return backtracking_tm_shim.MonitoredTMShim<EOL><DEDENT>else:<EOL><INDENT>raise RuntimeError("<STR_LIT>"<EOL>"<STR_LIT>" % (temporalImp))<EOL><DEDENT>
Return the class corresponding to the given temporalImp string