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
3918cac5
Commit
3918cac5
authored
Oct 31, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 more test
parent
7b15fe0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
187 additions
and
1 deletion
+187
-1
dream/simulation/JSONInputs/DeliverOnInterruption2.json
dream/simulation/JSONInputs/DeliverOnInterruption2.json
+1
-1
dream/simulation/JSONInputs/DeliverOnInterruption3.json
dream/simulation/JSONInputs/DeliverOnInterruption3.json
+121
-0
dream/tests/dump/DeliverOnInterruption3.json.result
dream/tests/dump/DeliverOnInterruption3.json.result
+65
-0
No files found.
dream/simulation/JSONInputs/DeliverOnInterruption2.json
View file @
3918cac5
...
...
@@ -37,7 +37,7 @@
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"
Yes
"
,
"trace"
:
"
No
"
,
"console"
:
"No"
},
"nodes"
:
{
...
...
dream/simulation/JSONInputs/DeliverOnInterruption3.json
0 → 100644
View file @
3918cac5
{
"_class"
:
"Dream.Simulation"
,
"edges"
:
{
"1"
:
[
"Q1"
,
"M1A"
,
{}
],
"2"
:
[
"M1A"
,
"Q2"
,
{}
],
"3"
:
[
"Q2"
,
"M2"
,
{}
],
"4"
:
[
"M2"
,
"E1"
,
{}
],
"11"
:
[
"Q1"
,
"M1B"
,
{}
],
"12"
:
[
"M1B"
,
"Q2"
,
{}
]
},
"general"
:
{
"_class"
:
"Dream.Configuration"
,
"confidenceLevel"
:
"0.95"
,
"maxSimTime"
:
"-1"
,
"numberOfReplications"
:
"1"
,
"trace"
:
"No"
,
"console"
:
"No"
},
"nodes"
:
{
"E1"
:
{
"_class"
:
"Dream.Exit"
,
"name"
:
"Exit"
},
"Q1"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
10
,
"left"
:
0.4414893617021277
,
"name"
:
"Q1"
,
"top"
:
0.40909090909090906
,
"wip"
:
[
{
"_class"
:
"Dream.Part"
,
"id"
:
"P1"
,
"name"
:
"Part1"
},
{
"_class"
:
"Dream.Part"
,
"id"
:
"P0"
,
"name"
:
"Part0"
}
]
},
"M1A"
:
{
"_class"
:
"Dream.Machine"
,
"name"
:
"Machine1A"
,
"canDeliverOnInterruption"
:
1
,
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
5
},
"shift"
:
{
"endUnfinished"
:
1
,
"shiftPattern"
:
[
[
0
,
3
]
]
}
},
"M1B"
:
{
"_class"
:
"Dream.Machine"
,
"name"
:
"Machine1B"
,
"canDeliverOnInterruption"
:
1
,
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
5
},
"shift"
:
{
"endUnfinished"
:
1
,
"shiftPattern"
:
[
[
0
,
3
]
]
}
},
"Q2"
:
{
"_class"
:
"Dream.Queue"
,
"capacity"
:
2
,
"left"
:
0.4414893617021277
,
"name"
:
"Q2"
,
"top"
:
0.40909090909090906
},
"M2"
:
{
"_class"
:
"Dream.Machine"
,
"failures"
:
{},
"name"
:
"Machine2"
,
"processingTime"
:
{
"distributionType"
:
"Fixed"
,
"mean"
:
10
}
}
}
}
\ No newline at end of file
dream/tests/dump/DeliverOnInterruption3.json.result
0 → 100644
View file @
3918cac5
{
"_class": "Dream.Simulation",
"elementList": [
{
"_class": "Dream.Exit",
"family": "Exit",
"id": "E1",
"results": {
"lifespan": 20.0,
"takt_time": 12.5,
"throughput": 2
}
},
{
"_class": "Dream.Machine",
"family": "Server",
"id": "M1A",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"off_shift_ratio": 80.0,
"waiting_ratio": 0.0,
"working_ratio": 20.0
}
},
{
"_class": "Dream.Machine",
"family": "Server",
"id": "M1B",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"off_shift_ratio": 80.0,
"waiting_ratio": 0.0,
"working_ratio": 20.0
}
},
{
"_class": "Dream.Machine",
"family": "Server",
"id": "M2",
"results": {
"blockage_ratio": 0.0,
"failure_ratio": 0.0,
"waiting_ratio": 20.0,
"working_ratio": 80.0
}
},
{
"_class": "Dream.Queue",
"family": "Buffer",
"id": "Q1",
"results": {}
},
{
"_class": "Dream.Queue",
"family": "Buffer",
"id": "Q2",
"results": {}
}
],
"general": {
"_class": "Dream.Configuration"
}
}
\ No newline at end of file
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