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
e4763e78
Commit
e4763e78
authored
Mar 05, 2014
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add missing scipy import and remove unsued
parent
e6da1bf4
Changes
13
Show whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
5 additions
and
14 deletions
+5
-14
dream/simulation/Assembly.py
dream/simulation/Assembly.py
+0
-1
dream/simulation/BatchReassembly.py
dream/simulation/BatchReassembly.py
+0
-1
dream/simulation/Conveyer.py
dream/simulation/Conveyer.py
+0
-1
dream/simulation/CoreObject.py
dream/simulation/CoreObject.py
+0
-1
dream/simulation/Dismantle.py
dream/simulation/Dismantle.py
+0
-1
dream/simulation/Examples/PartJobShop.json
dream/simulation/Examples/PartJobShop.json
+2
-2
dream/simulation/Exit.py
dream/simulation/Exit.py
+0
-1
dream/simulation/GUI/PartJobShop.py
dream/simulation/GUI/PartJobShop.py
+2
-2
dream/simulation/Globals.py
dream/simulation/Globals.py
+1
-0
dream/simulation/Machine.py
dream/simulation/Machine.py
+0
-1
dream/simulation/OperatedMachine.py
dream/simulation/OperatedMachine.py
+0
-1
dream/simulation/OperatorPool.py
dream/simulation/OperatorPool.py
+0
-1
dream/simulation/Repairman.py
dream/simulation/Repairman.py
+0
-1
No files found.
dream/simulation/Assembly.py
View file @
e4763e78
...
...
@@ -30,7 +30,6 @@ from SimPy.Simulation import Process, Resource
from
SimPy.Simulation
import
waituntil
,
now
,
hold
import
xlwt
from
RandomNumberGenerator
import
RandomNumberGenerator
import
scipy.stats
as
stat
from
CoreObject
import
CoreObject
#the Assembly object
...
...
dream/simulation/BatchReassembly.py
View file @
e4763e78
...
...
@@ -28,7 +28,6 @@ BatchReassembly is a Core Object that takes a number of subBatches and reassembl
from
SimPy.Simulation
import
Process
,
Resource
from
SimPy.Simulation
import
activate
,
waituntil
,
now
,
hold
import
scipy.stats
as
stat
from
Globals
import
G
from
RandomNumberGenerator
import
RandomNumberGenerator
...
...
dream/simulation/Conveyer.py
View file @
e4763e78
...
...
@@ -29,7 +29,6 @@ it gathers entities and transfers them with a certain speed
from
SimPy.Simulation
import
Process
,
Resource
from
SimPy.Simulation
import
waituntil
,
now
,
hold
,
infinity
,
activate
import
xlwt
import
scipy.stats
as
stat
from
CoreObject
import
CoreObject
#The conveyer object
...
...
dream/simulation/CoreObject.py
View file @
e4763e78
...
...
@@ -26,7 +26,6 @@ Class that acts as an abstract. It should have no instances. All the core-object
'''
from
SimPy.Simulation
import
Process
,
Resource
,
now
import
scipy.stats
as
stat
# ===========================================================================
# the core object
...
...
dream/simulation/Dismantle.py
View file @
e4763e78
...
...
@@ -31,7 +31,6 @@ from SimPy.Simulation import Process, Resource
from
SimPy.Simulation
import
waituntil
,
now
,
hold
,
infinity
import
xlwt
from
RandomNumberGenerator
import
RandomNumberGenerator
import
scipy.stats
as
stat
from
CoreObject
import
CoreObject
# ===========================================================================
...
...
dream/simulation/Examples/PartJobShop.json
View file @
e4763e78
...
...
@@ -342,12 +342,12 @@
}
},
"PM1"
:
{
"_class"
:
"Dream.Operator"
,
"_class"
:
"Dream.Operator
ManagedJob
"
,
"element_id"
:
"DreamNode_14"
,
"name"
:
"PM1"
},
"PM2"
:
{
"_class"
:
"Dream.Operator"
,
"_class"
:
"Dream.Operator
ManagedJob
"
,
"element_id"
:
"DreamNode_15"
,
"name"
:
"PM2"
},
...
...
dream/simulation/Exit.py
View file @
e4763e78
...
...
@@ -27,7 +27,6 @@ models the exit of the model
from
SimPy.Simulation
import
now
,
Process
,
Resource
,
infinity
,
waituntil
import
xlwt
import
scipy.stats
as
stat
from
CoreObject
import
CoreObject
# ===========================================================================
...
...
dream/simulation/GUI/PartJobShop.py
View file @
e4763e78
...
...
@@ -61,8 +61,8 @@ class Simulation(ACO.Simulation):
"_class"
:
'Dream.ExitJobShop'
,
"name"
:
'Exit'
}
conf
[
"Dream-Operator"
]
=
{
"_class"
:
'Dream.Operator'
,
conf
[
"Dream-Operator
ManagedJob
"
]
=
{
"_class"
:
'Dream.Operator
ManagedJob
'
,
"name"
:
'Operator'
}
conf
[
"Dream-OrderDecomposition"
]
=
{
...
...
dream/simulation/Globals.py
View file @
e4763e78
...
...
@@ -33,6 +33,7 @@ import xlwt
import
xlrd
from
random
import
Random
,
expovariate
,
gammavariate
,
normalvariate
from
SimPy.Simulation
import
now
import
scipy.stats
as
stat
# ===========================================================================
# globals
...
...
dream/simulation/Machine.py
View file @
e4763e78
...
...
@@ -37,7 +37,6 @@ from OperatedPoolBroker import Broker
from
OperatorPool
import
OperatorPool
from
RandomNumberGenerator
import
RandomNumberGenerator
import
scipy.stats
as
stat
# ===========================================================================
# the Machine object
...
...
dream/simulation/OperatedMachine.py
View file @
e4763e78
...
...
@@ -36,7 +36,6 @@ from OperatedPoolBroker import Broker
from
OperatorPool
import
OperatorPool
from
RandomNumberGenerator
import
RandomNumberGenerator
import
scipy.stats
as
stat
# ===========================================================================
# the Machine object
...
...
dream/simulation/OperatorPool.py
View file @
e4763e78
...
...
@@ -28,7 +28,6 @@ models a Broker that organizes the dispatch of operators/repairmen
from
SimPy.Simulation
import
Resource
,
now
import
xlwt
import
scipy.stats
as
stat
from
ObjectResource
import
ObjectResource
from
Operator
import
Operator
...
...
dream/simulation/Repairman.py
View file @
e4763e78
...
...
@@ -28,7 +28,6 @@ models a repairman that can fix a machine when it gets failures
from
SimPy.Simulation
import
Resource
,
now
import
xlwt
import
scipy.stats
as
stat
from
ObjectResource
import
ObjectResource
# ===========================================================================
...
...
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