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
a2f3c17a
Commit
a2f3c17a
authored
Sep 23, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor clean-up in CoreObject
parent
613ba8e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
23 deletions
+0
-23
dream/simulation/CoreObject.py
dream/simulation/CoreObject.py
+0
-23
No files found.
dream/simulation/CoreObject.py
View file @
a2f3c17a
...
@@ -448,17 +448,6 @@ class CoreObject(ManPyObject):
...
@@ -448,17 +448,6 @@ class CoreObject(ManPyObject):
for
object
in
[
x
for
x
in
activeObject
.
next
if
x
.
canAccept
(
activeObject
)
and
not
x
.
isRequested
.
triggered
and
x
.
expectedSignals
[
'isRequested'
]]:
for
object
in
[
x
for
x
in
activeObject
.
next
if
x
.
canAccept
(
activeObject
)
and
not
x
.
isRequested
.
triggered
and
x
.
expectedSignals
[
'isRequested'
]]:
receivers
.
append
(
object
)
receivers
.
append
(
object
)
return
receivers
return
receivers
# #===========================================================================
# # find possible receivers
# #===========================================================================
# def findReceivers(self):
# activeObject=self.getActiveObject()
# receivers=[]
# for object in [x for x in self.next if x.canAccept(activeObject)]:
# receivers.append(object)
# return receivers
# =======================================================================
# =======================================================================
# signal the successor that the object can dispose an entity
# signal the successor that the object can dispose an entity
...
@@ -535,18 +524,6 @@ class CoreObject(ManPyObject):
...
@@ -535,18 +524,6 @@ class CoreObject(ManPyObject):
givers
.
append
(
object
)
givers
.
append
(
object
)
return
givers
return
givers
# #===========================================================================
# # find possible givers
# #===========================================================================
# def findGivers(self):
# activeObject=self.getActiveObject()
# givers=[]
# for object in [x for x in activeObject.previous if(not x is activeObject)]:
# if object.haveToDispose(activeObject):
# givers.append(object)
# return givers
# =======================================================================
# =======================================================================
# signal the giver that the entity is removed from its internalQueue
# signal the giver that the entity is removed from its internalQueue
# =======================================================================
# =======================================================================
...
...
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