-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsimulation.py
More file actions
36 lines (32 loc) · 987 Bytes
/
Copy pathsimulation.py
File metadata and controls
36 lines (32 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# -*- coding: utf-8 -*-
"""
Created on Thu May 19 15:30:35 2016
@author: rmondoncancel
"""
# imports
from simulator import simulate
# Example of inputs / uncomment that and comment CLI inputs to run the
# simulation directly
model = 'monk'
duration = 5
variation = 0.2
nbSim = 50
runStatWeights = False
plotStats = []
randomize = False
#model = raw_input('Priority model: ')
#duration = float(raw_input('Fight duration [in minutes]: '))
#variation = float(raw_input('Fight duration variation [0.2 for 20%]: '))
#nbSim = int(raw_input('Number of simulations: '))
#runStatWeights = raw_input('Compute stat weights [Y/N]: ').lower()[0] == 'y'
#randomize = raw_input('Randomize simulations [Y/N]: ').lower()[0] == 'y'
# Run the simulation with given parameters
(states, results, avgDPS, avgTPSPS, tSkill, gCycleSkills, statWeights) = simulate(
model,
duration,
variation,
nbSim,
runStatWeights = runStatWeights,
randomize = randomize,
plotStats = plotStats
)