uber-research / safemutations

safemutations
Other
144 stars 15 forks source link

state_buffer in maze_domain.py stores the initial state twice #4

Open adityauser opened 4 years ago

adityauser commented 4 years ago

Why this line is required? https://github.com/uber-research/safemutations/blob/40e5fd03a244f89bf157d4bedf79201e706aedc1/maze_domain.py#L344 Already in the line below we are appending all visited state: https://github.com/uber-research/safemutations/blob/40e5fd03a244f89bf157d4bedf79201e706aedc1/maze_domain.py#L357 Due to this initial state in appended in state_buffer twice.