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
468936fa
Commit
468936fa
authored
Sep 01, 2014
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main script does not need to define AllocationManagement differently
parent
88bfb6c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
dream/simulation/LineGenerationJSON.py
dream/simulation/LineGenerationJSON.py
+0
-9
No files found.
dream/simulation/LineGenerationJSON.py
View file @
468936fa
...
...
@@ -44,7 +44,6 @@ numpy.seterr(all='raise')
import
simpy
from
Globals
import
G
from
Source
import
Source
from
Machine
import
Machine
from
Exit
import
Exit
from
Queue
import
Queue
from
Repairman
import
Repairman
...
...
@@ -88,7 +87,6 @@ from ShiftScheduler import ShiftScheduler
import
PrintRoute
from
CapacityStation
import
CapacityStation
from
AllocationManagement
import
AllocationManagement
from
CapacityStationExit
import
CapacityStationExit
from
CapacityStationBuffer
import
CapacityStationBuffer
...
...
@@ -269,13 +267,6 @@ def createObjectResourcesAndCoreObjects():
coreObject
.
nextPartIds
=
getSuccessorList
(
element
[
'id'
],
lambda
source
,
destination
,
edge_data
:
edge_data
.
get
(
'entity'
)
==
'Part'
)
# get the successorList for the 'Frames'
coreObject
.
nextFrameIds
=
getSuccessorList
(
element
[
'id'
],
lambda
source
,
destination
,
edge_data
:
edge_data
.
get
(
'entity'
)
==
'Frame'
)
elif
objClass
==
'Dream.AllocationManagement'
:
id
=
element
.
get
(
'id'
,
'not found'
)
name
=
element
.
get
(
'name'
,
'not found'
)
argumentDict
=
element
.
get
(
'argumentDict'
,
{})
AM
=
AllocationManagement
(
id
,
name
,
argumentDict
=
argumentDict
)
G
.
AllocationManagementList
.
append
(
AM
)
# -----------------------------------------------------------------------
# loop through all the core objects
...
...
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