Skip to content

Commit

Permalink
uupdate_simulation-setup
Browse files Browse the repository at this point in the history
  • Loading branch information
YaolinGe committed Sep 8, 2023
1 parent fbbcf00 commit 1d5f99e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Publication/src/Config.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ def __init__(self) -> None:

""" Default simulation parameter seteup. """
self.__num_steps = 120 # number of steps.
self.__num_replicates = 1 # number of replicates
self.__num_cores = 1 # number of cores to use
self.__num_replicates = 100 # number of replicates
self.__num_cores = 10 # number of cores to use

@staticmethod
def wgs2xy(value: np.ndarray) -> np.ndarray:
Expand Down
2 changes: 1 addition & 1 deletion Publication/src/run_temporal_replicates.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def run_replicates(sws: np.ndarray = np.array([0, 102, 1., 1.])):
print("Replicate: ", i, " | Seed: ", seed, " | Weight EIBV: ", weight_eibv, " | Weight IVR: ", weight_ivr)
simulator = Simulator(weight_eibv=weight_eibv, weight_ivr=weight_ivr,
random_seed=seed, replicate_id=i, debug=debug)
# simulator.run_myopic()
simulator.run_myopic()
simulator.run_rrt()


Expand Down

0 comments on commit 1d5f99e

Please sign in to comment.