Comments (4)
Thank you!
Commit 2b55994
from framework.
moead_framework/core/sps_strategy/sps_dra.py [54:68]
:
def get_xtrem_index(self):
"""
get boundaries sub-problems
:return: {list<integer>} indexes of sub-problems
"""
xtrem_index = []
for i in range(self.algorithm.number_of_weight):
weight = self.algorithm.weights[i]
for j in range(self.algorithm.number_of_objective):
if weight[j] == 1:
xtrem_index.append(i)
break
return xtrem_index
moead_framework/core/sps_strategy/sps_random_and_boundaries.py [32:46]
:
def get_xtrem_index(self):
"""
get boundaries sub-problems
:return: {list<integer>} indexes of sub-problems
"""
xtrem_index = []
for i in range(self.algorithm.number_of_weight):
weight = self.algorithm.weights[i]
for j in range(self.algorithm.number_of_objective):
if weight[j] == 1:
xtrem_index.append(i)
break
return xtrem_index
from framework.
moead_framework/algorithm/abstract_moead.py [106:112]
:
self.update_current_sub_problem(sub_problem=i)
self.mating_pool = self.mating_pool_selection(sub_problem=i)[:]
y = self.generate_offspring(population=self.mating_pool)
y = self.repair(solution=y)
self.update_z(solution=y)
self.update_solutions(solution=y, aggregation_function=self.aggregation_function, sub_problem=i)
self.current_eval += 1
moead_framework/algorithm/combinatorial/moead_dra.py [72:78]
:
self.update_current_sub_problem(sub_problem=i)
self.mating_pool = self.mating_pool_selection(sub_problem=i)[:]
y = self.generate_offspring(population=self.mating_pool)
y = self.repair(solution=y)
self.update_z(solution=y)
self.update_solutions(solution=y, aggregation_function=self.aggregation_function, sub_problem=i)
self.current_eval += 1
from framework.
Pull request #67
from framework.
Related Issues (20)
- [joss-reviews#2974] Paper: further clarify statement of need HOT 1
- [joss-reviews#2974] Paper: grammar/spelling HOT 3
- Confusing OneDimensionalSolution.__repr__ HOT 2
- [Documentation] Include example of how to use results HOT 1
- [Documentation] irrelevant __init__ instruction on documentation for e.g. aggregation functions HOT 4
- Add development requirements HOT 1
- Disambiguate usage of the word 'generate' for Problems HOT 4
- [Documentation] Problems considered 'main component' of MOEA/D algorithm? HOT 2
- Remove docs/html folder from master branch? HOT 2
- [joss-reviews#2974] Ztd1 unfriendly error message HOT 1
- [joss-reviews#2974] Empty initializer HOT 1
- [joss-reviews#2974] Naming confusion HOT 3
- [joss-reviews#2974] Annotation errors HOT 11
- __init__.py HOT 1
- [joss-reviews#2974] Improve documentation/README for support HOT 1
- [joss-reviews#2974] Many component combinations not possible? HOT 3
- [joss-reviews#2974] Checkpoints used inconsistently HOT 3
- [joss-reviews#2974] Functionality HOT 7
- [joss-reviews#2974] Software paper HOT 12
- [joss-reviews#2974] Documentation HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.