Hari-viswadeep / aima-python

Automatically exported from code.google.com/p/aima-python
0 stars 0 forks source link

Misleading comment in MDP class #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The following definition is present in the MDP class:

   def T(self,state, action): 
        """Transition model.  From a state and an action, return a list
        of (result-state, probability) pairs."""

the value iteration procedure, though, expects the transition model to return a 
list of (probability,result-state) pairs. I haven't looked at what other 
algorithms might be expecting.

Original issue reported on code.google.com by Gustavo....@gmail.com on 21 Apr 2011 at 6:26

GoogleCodeExporter commented 8 years ago
Fixed in r42.

Original comment by wit...@gmail.com on 31 Aug 2011 at 5:19