Browse Source

Fixed number in doc test

refactoring
Matthias Volk 6 years ago
parent
commit
2ab55a3b30
  1. 2
      doc/source/doc/reward_models.rst

2
doc/source/doc/reward_models.rst

@ -29,7 +29,7 @@ We can do model checking analogous to probabilities::
>>> initial_state = model.initial_states[0] >>> initial_state = model.initial_states[0]
>>> result = stormpy.model_checking(model, properties[0]) >>> result = stormpy.model_checking(model, properties[0])
>>> print("Result: {}".format(result.at(initial_state))) >>> print("Result: {}".format(result.at(initial_state)))
Result: 3.6666666666666665
Result: 3.666666666666667
The reward model has a name which we can obtain as follows:: The reward model has a name which we can obtain as follows::

Loading…
Cancel
Save