示例#1
0
 def __init__( self ):
      Model.__init__( self )
      self.num_runs = 0
示例#2
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
示例#3
0
 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.] )
示例#4
0
文件: model.py 项目: jjakeman/pyheat
 def __init__( self, function ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.target_function = function
示例#5
0
文件: model.py 项目: jjakeman/pyheat
 def __init__( self, path ):
     Model.__init__( self ) # must call c++ object wrapper init function
     self.path = path
     self.num_runs = 0
示例#6
0
文件: model.py 项目: jjakeman/pyheat
 def __init__( self ):
      Model.__init__( self ) # must call c++ object wrapper init function
      self.engine = matlab.MatlabEngine()
      self.engine.start()
      self.num_runs = 0