Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
389d733e
Commit
389d733e
authored
Mar 25, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a better example json
parent
1bd4eeef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
45 deletions
+48
-45
dream/simulation/Examples/Gui_update.json
dream/simulation/Examples/Gui_update.json
+48
-45
No files found.
dream/simulation/Examples/Gui_update.json
View file @
389d733e
...
...
@@ -25,6 +25,16 @@
"Q1"
,
{}
],
"con_35"
:
[
"Q1"
,
"M4"
,
{}
],
"con_40"
:
[
"M4"
,
"Q2"
,
{}
],
"con_5"
:
[
"M2"
,
"E1"
,
...
...
@@ -77,7 +87,7 @@
"distributionType"
:
"Normal"
,
"max"
:
3
,
"mean"
:
0.1
,
"min"
:
0
.1
,
"min"
:
1
.1
,
"stdev"
:
2
}
},
...
...
@@ -98,6 +108,23 @@
"stdev"
:
2
}
},
"M4"
:
{
"_class"
:
"Dream.Machine"
,
"element_id"
:
"DreamNode_8"
,
"failures"
:
{
"MTTF"
:
40
,
"MTTR"
:
10
,
"failureDistribution"
:
"No"
,
"repairman"
:
"None"
},
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"max"
:
1
,
"mean"
:
0.5
,
"min"
:
0.1
,
"stdev"
:
0.5
}
},
"Q1"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
100
,
...
...
@@ -106,33 +133,13 @@
},
"Q2"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
130
,
"capacity"
:
2
,
"element_id"
:
"DreamNode_6"
,
"schedulingRule"
:
"FIFO"
},
"QS1"
:
{
"_class"
:
"Dream.EventGenerator"
,
"argumentDict"
:
"{}"
,
"duration"
:
10
,
"element_id"
:
"DreamNode_7"
,
"interval"
:
10
,
"method"
:
"Globals.countQueueMetrics"
,
"start"
:
1
,
"stop"
:
-1
},
"QS2"
:
{
"_class"
:
"Dream.EventGenerator"
,
"argumentDict"
:
"{}"
,
"duration"
:
10
,
"element_id"
:
"DreamNode_8"
,
"interval"
:
1
,
"method"
:
"Globals.updateGui"
,
"start"
:
1
,
"stop"
:
-1
},
"S1"
:
{
"_class"
:
"Dream.Source"
,
"element_id"
:
"DreamNode_
9
"
,
"element_id"
:
"DreamNode_
7
"
,
"entity"
:
"Dream.Part"
,
"interarrivalTime"
:
{
"distributionType"
:
"Fixed"
,
...
...
@@ -143,40 +150,36 @@
"preference"
:
{
"coordinates"
:
{
"E1"
:
{
"left"
:
0.
8900794036136932
,
"top"
:
0.8
658660582253224
"left"
:
0.
9166485756421163
,
"top"
:
0.8
30369863384717
},
"M1"
:
{
"left"
:
0.
42307670353585936
,
"top"
:
0.0
26878325532493377
"left"
:
0.
850860400356797
,
"top"
:
0.0
8023798679897265
},
"M2"
:
{
"left"
:
0.
5502309040521013
,
"top"
:
0.
741073832538746
"left"
:
0.
1491198639800572
,
"top"
:
0.
9553918428156744
},
"M3"
:
{
"left"
:
0.08785199308394895
,
"top"
:
0.4895695007704151
"left"
:
0.0942963845756244
,
"top"
:
0.4982219180308302
},
"M4"
:
{
"left"
:
0.9517356024609533
,
"top"
:
0.47956192110083656
},
"Q1"
:
{
"left"
:
0.4
762502782971969
,
"top"
:
0.
2764627769056462
"left"
:
0.4
999901321684271
,
"top"
:
0.
30788994934489505
},
"Q2"
:
{
"left"
:
0.5224881693940121
,
"top"
:
0.5222074674884428
},
"QS1"
:
{
"left"
:
0.060109258425859804
,
"top"
:
0.85818653664461
},
"QS2"
:
{
"left"
:
0.9755049855975303
,
"top"
:
0.277996584331602
"left"
:
0.5438489156919734
,
"top"
:
0.671759889479771
},
"S1"
:
{
"left"
:
0.
053173574761337515
,
"top"
:
0.
10367354133961731
"left"
:
0.
1710492557418303
,
"top"
:
0.
07463998771997456
}
},
"zoom_level"
:
0.8999280025199498
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment