def __init__( self ):
      Model.__init__( self )
      self.num_runs = 0
 def __init__( self ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.num_dims = 3
     self.A = 7.
     self.B = 0.1
 def __init__( self ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.a = numpy.array( [1.,2.,5.,10.,20.,50.,100.,500.] )
Exemple #4
0
 def __init__( self, function ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.target_function = function
Exemple #5
0
 def __init__( self, path ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.path = path
     self.num_runs = 0
Exemple #6
0
 def __init__( self ):
      Model.__init__( self ) # must call c++ object wrapper init function
      self.engine = matlab.MatlabEngine()
      self.engine.start()
      self.num_runs = 0