Skip to content

Commit

Permalink
Add _init_vessel_plans in business_engine.reset
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuoran committed Aug 26, 2021
1 parent 32c3dca commit f898860
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions maro/simulator/scenarios/cim/business_engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def reset(self, keep_seed: bool = False):
# Insert departure event again.
self._load_departure_events()

self._init_vessel_plans()

self._total_operate_num = 0

def action_scope(self, port_idx: int, vessel_idx: int) -> ActionScope:
Expand Down

0 comments on commit f898860

Please sign in to comment.