Ejemplo n.º 1
0
 def test_run_example__with_increment_only(self):
     model = create_decay_no_tspan()
     solver = SSACSolver(model=model)
     results = solver.run(increment=0.2)
Ejemplo n.º 2
0
 def setUp(self):
     self.model = create_decay()
     self.solver = ODECSolver(self.model)
     self.model_no_tspan = create_decay_no_tspan()
     self.solver_no_tspan = ODECSolver(self.model_no_tspan)
Ejemplo n.º 3
0
 def setUp(self):
     self.model = create_decay()
     self.solver = NumPySSASolver(model=self.model)
     self.model_no_tspan = create_decay_no_tspan()
     self.solver_no_tspan = NumPySSASolver(model=self.model_no_tspan)
Ejemplo n.º 4
0
 def setUp(self):
     self.model = create_decay()
     self.model_no_tspan = create_decay_no_tspan()
     self.solver = TauLeapingSolver(model=self.model)
     self.solver_no_tspan = TauLeapingSolver(model=self.model_no_tspan)
Ejemplo n.º 5
0
 def test_run_example__with_increment_only(self):
     model = create_decay_no_tspan()
     results = model.run(t=20, increment=0.2)