Created
June 3, 2012 19:28
-
-
Save davidrobles/2864704 to your computer and use it in GitHub Desktop.
Markov Decision Process
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MDP: | |
def __init__(self, name, age): | |
self.name = name | |
self.age = age | |
def start(self): | |
pass | |
def actions(self, state): | |
pass | |
def states(self): | |
pass | |
def trans(self, state, action): | |
pass | |
def reward(self, state, action, next_state): | |
pass | |
def is_terminal(self, state): | |
pass |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment