Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
nexedi
dream
Commits
7a66a1a0
Commit
7a66a1a0
authored
10 years ago
by
Ioannis Papagiannopoulos
Committed by
Georgios Dagkakis
10 years ago
Browse files
Options
Download
Email Patches
Plain Diff
hasOneOption method removed
parent
6f34c14c
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 @
7a66a1a0
...
...
@@ -70,14 +70,6 @@ class OperatorManagedJob(Operator):
# if self.operatorAssignedTo==None:
# return False
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
...
...
This diff is collapsed.
Click to expand it.
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