Initial commit
This commit is contained in:
commit
66a6860316
407 changed files with 1254365 additions and 0 deletions
14
models/dist_statesaving/experiment.py
Normal file
14
models/dist_statesaving/experiment.py
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
import sys
|
||||
sys.setrecursionlimit(20000)
|
||||
import random
|
||||
sys.path.append("../../src/")
|
||||
from simulator import Simulator
|
||||
from model import DEVStone
|
||||
|
||||
model = DEVStone(3, int(sys.argv[1]), False)
|
||||
sim = Simulator(model)
|
||||
sim.setMessageCopy('custom')
|
||||
sim.setStateSaving(str(sys.argv[2]))
|
||||
sim.setTerminationTime(1000)
|
||||
sim.setSchedulerMinimalList()
|
||||
sim.simulate()
|
||||
Loading…
Add table
Add a link
Reference in a new issue