def add_result(self, result, t, name):
result.time = t<EOL>result.name = name<EOL>if not hasattr(result, "<STR_LIT>"):<EOL><INDENT>result.njev = <NUM_LIT:0><EOL><DEDENT>if not hasattr(result, "<STR_LIT>"):<EOL><INDENT>result.nhev = <NUM_LIT:0><EOL><DEDENT>self.results.append(result)<EOL>
add a result to the list