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
609d587a
Commit
609d587a
authored
Nov 12, 2015
by
Georgios Dagkakis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove comments
parent
b9be44ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
dream/plugins/Batches/BatchesStochasticACO.py
dream/plugins/Batches/BatchesStochasticACO.py
+0
-19
No files found.
dream/plugins/Batches/BatchesStochasticACO.py
View file @
609d587a
...
@@ -18,25 +18,6 @@ import StringIO
...
@@ -18,25 +18,6 @@ import StringIO
class
BatchesStochasticACO
(
BatchesACO
):
class
BatchesStochasticACO
(
BatchesACO
):
# def run(self, data):
# ant_data = copy(data)
# # if there are no operators act as default execution plugin
# if not self.checkIfThereAreOperators(data):
# data["result"]["result_list"] = self.runOneScenario(data)['result']['result_list']
# data["result"]["result_list"][-1]["score"] = ''
# data["result"]["result_list"][-1]["key"] = "Go To Results Page"
# return data
# # else run ACO
# data['general']['numberOfSolutions']=1 # default of 1 solution for this instance
# data["general"]["distributorURL"]=None # no distributor currently, to be added in the GUI
# # use multiprocessing in the PC. This can be an option, but default for now
# import multiprocessing
# data["general"]["multiprocessorCount"] = None # multiprocessing.cpu_count()-1 or 1
# ACO.run(self, data)
# data["result"]["result_list"][-1]["score"] = ''
# data["result"]["result_list"][-1]["key"] = "Go To Results Page"
# return data
# changes all processing time distributions to stochastic
# changes all processing time distributions to stochastic
def
createStochasticData
(
self
,
data
):
def
createStochasticData
(
self
,
data
):
nodes
=
data
[
'graph'
][
'node'
]
nodes
=
data
[
'graph'
][
'node'
]
...
...
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