#NEWLINE# def __call__( self , new_id ) : #NEWLINE# #INDENT# self . rng . seed ( ( self . _seed + new_id ) ) #NEWLINE# memo = self . eval_nodes ( memo = { #NEWLINE# #INDENT# self . domain . s_new_ids : [ new_id ] , #NEWLINE# self . domain . s_rng : self . rng , #NEWLINE# #UNINDENT# } ) #NEWLINE# ( idxs , vals ) = memo [ self . expr ] #NEWLINE# new_result = self . domain . new_result ( ) #NEWLINE# new_misc = dict ( tid = new_id , cmd = self . domain . cmd , workdir = self . domain . workdir ) #NEWLINE# miscs_update_idxs_vals ( [ new_misc ] , idxs , vals ) #NEWLINE# rval = self . trials . new_trial_docs ( [ new_id ] , [ None ] , [ new_result ] , [ new_misc ] ) #NEWLINE# return rval