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
0e775875
Commit
0e775875
authored
Dec 23, 2014
by
Georgios Dagkakis
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction in remainingProcessingTime distribution
parent
4e57e0d0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dream/simulation/CoreObject.py
dream/simulation/CoreObject.py
+1
-1
No files found.
dream/simulation/CoreObject.py
View file @
0e775875
...
@@ -758,7 +758,7 @@ class CoreObject(ManPyObject):
...
@@ -758,7 +758,7 @@ class CoreObject(ManPyObject):
if
activeEntity
.
remainingProcessingTime
:
if
activeEntity
.
remainingProcessingTime
:
remainingProcessingTime
=
activeEntity
.
remainingProcessingTime
remainingProcessingTime
=
activeEntity
.
remainingProcessingTime
from
RandomNumberGenerator
import
RandomNumberGenerator
from
RandomNumberGenerator
import
RandomNumberGenerator
initialWIPrng
=
RandomNumberGenerator
(
self
,
**
remainingProcessingTime
)
initialWIPrng
=
RandomNumberGenerator
(
self
,
remainingProcessingTime
)
return
initialWIPrng
.
generateNumber
()
return
initialWIPrng
.
generateNumber
()
return
self
.
rng
.
generateNumber
()
# this is if we have a default processing time for all the entities
return
self
.
rng
.
generateNumber
()
# this is if we have a default processing time for all the entities
...
...
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