Esempio n. 1
0
 def __init__(self,
              memory=10,
              delay=0.001,
              plot_initial=True,
              plot_improvements_only=False,
              ax=None,
              legendloc=1):
     ExplicitComponent.__init__(self)
     self.delay = delay
     self.plot_improvements_only = plot_improvements_only
     self._ax = ax
     self.memory = memory
     self.delay = max([delay, 1e-6])
     self.plot_initial = plot_initial
     self.history = []
     self.counter = 0
     self.by_pass = False
     self.legendloc = legendloc
Esempio n. 2
0
 def __init__(self, *args, **kwargs):
     ExplicitComponent.__init__(self)
Esempio n. 3
0
 def __init__(self, problem):
     ExplicitComponent.__init__(self)
     self.problem = problem