Beispiel #1
0
 def step(self, model: Model, sigma: Sigma) -> float:
     sample_value = self.sample(model, sigma)
     sigma.set_value(sample_value)
     return sample_value
Beispiel #2
0
 def step(self, model: Model, sigma: Sigma) -> None:
     sigma.set_value(self.sample(model, sigma))