Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
pymdptoolbox
Commits
91a6b57a
Commit
91a6b57a
authored
Aug 24, 2013
by
Steven Cordwell
Browse files
improve docstring a liitle
parent
16dc03c6
Changes
1
Show whitespace changes
Inline
Side-by-side
src/mdptoolbox/utils.py
View file @
91a6b57a
...
...
@@ -42,9 +42,9 @@ mdperr = {
}
def
check
(
P
,
R
):
"""Check if
P and R
define a valid Markov Decision Process (MDP).
"""Check if
``P`` and ``R``
define a valid Markov Decision Process (MDP).
Let
S
= number of states,
A
= number of actions.
Let
``S``
= number of states,
``A``
= number of actions.
Parameters
---------
...
...
@@ -62,7 +62,7 @@ def check(P, R):
Notes
-----
Raises an error if
P and R
do not define a MDP.
Raises an error if
``P`` and ``R``
do not define a MDP.
Examples
--------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment