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
23364a84
Commit
23364a84
authored
Sep 23, 2014
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
Nov 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hasOneOption method removed
parent
e019a227
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
dream/simulation/OperatorManagedJob.py
dream/simulation/OperatorManagedJob.py
+0
-8
No files found.
dream/simulation/OperatorManagedJob.py
View file @
23364a84
...
@@ -70,14 +70,6 @@ class OperatorManagedJob(Operator):
...
@@ -70,14 +70,6 @@ class OperatorManagedJob(Operator):
# if self.operatorAssignedTo==None:
# if self.operatorAssignedTo==None:
# return False
# return False
return
len
(
activeResourceQueue
)
<
self
.
capacity
return
len
(
activeResourceQueue
)
<
self
.
capacity
#===========================================================================
# check if the operator has only one station as candidate option
#===========================================================================
def
hasOneOption
(
self
):
if
len
(
self
.
candidateEntities
)
==
1
:
# if the candidate entity has only one receiver then return True
return
len
(
self
.
candidateEntities
[
0
].
candidateReceivers
)
==
1
#=======================================================================
#=======================================================================
# findCandidateEntities method finding the candidateEntities of the operator
# findCandidateEntities method finding the candidateEntities of the operator
...
...
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