-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[meta] generalize tsp_cl_algo as a GA algorithm #2
Comments
As far as I can think of ... 2 thing should be taken into account.
Thoughts ? |
https://github.com/PyOCL/oclGA/wiki/Proposal-of-OpenCL-GA
In my design, it can be passed through the source code generation. You give me a good hint that the data will be put at stack if I put the data in source code. And if we pass data through function call, the data will be in heap. That should be better....
This is a nice catch. I don't think we need to implement it now. It's called GP if we have variable length gene. It is important and we need to implement it in the future. BTW, in my design, we can implement different Gene in both python and CL to support it.
This one is also a good point. I cannot find any use case now. And it is worth to have further discussion.
I don't think so. We can fill a lot of 0 in python for user If we really need to say oclGA supports it. |
An example implementation of my proposal can be found here: https://github.com/PyOCL/oclGA/tree/1e2e0be35e66ecd08a5caaa882f73be886354783/evaluation/oclGA |
As per offline discussion, we found the implementation of crossover or mutation doesn't give us good solution. There are few docs for this topic here:
|
The first version of oclGA is implemented at evaluation folder. I close this issue and file another for moving the code to root. |
The text was updated successfully, but these errors were encountered: