#NEWLINE# def __init__( self , interface , numPlannedRuns , numParams , minBoundary , maxBoundary , configDict , fileAppend = None ) : #NEWLINE# #INDENT# self . interface = interface #NEWLINE# self . numPlannedRuns = interface #NEWLINE# self . numParams = int ( numParams ) #NEWLINE# self . minBoundary = minBoundary #NEWLINE# self . maxBoundary = maxBoundary #NEWLINE# self . diffBoundary = ( maxBoundary - minBoundary ) #NEWLINE# self . numExpCalls = 0 #NEWLINE# self . configDict = configDict #NEWLINE# if ( fileAppend == None ) : #NEWLINE# #INDENT# self . fileAppend = '' #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . fileAppend = fileAppend #NEWLINE# #UNINDENT# if ( ( self . minBoundary . size != self . numParams ) | ( self . minBoundary . size != self . numParams ) ) : #NEWLINE# #INDENT# sys . exit ( 'Number of boundary elements does not match number of parameters.' ) #NEWLINE# #UNINDENT# if ( nm . all ( ( self . diffBoundary > 0.0 ) ) == False ) : #NEWLINE# #INDENT# sys . exit ( 'Maximum boundary values are not larger than minimum values.' )