Skip to content
Browse files

Added the destination to the end set of the option

  • Loading branch information...
1 parent 14d24ee commit 34d560fd010aa71adcf1e0c8b92d6843bf71ee8c @arunchaganty committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/Environment.py
View
4 src/Environment.py
@@ -173,7 +173,7 @@ def make_point_option( g, gr, dest ):
action = max( actions, key = lambda (a,pr): pr )[ 0 ]
pi[ src ] = ((action, 1.0),)
- B = {}
+ B = { dest : 1.0 }
return Option( I, pi, B )
@@ -211,7 +211,7 @@ def make_markov_path_option( g, gr, start, dest ):
action = max( actions, key = lambda (a,pr): pr )[ 0 ]
pi[ src ] = ((action, 1.0),)
- B = {}
+ B = { dest : 1.0 }
return Option( I, pi, B )

0 comments on commit 34d560f

Please sign in to comment.
Something went wrong with that request. Please try again.