Skip to content
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

[GA] Genotype - optimize for space usage #34

Open
swirszcz-adrian opened this issue Mar 29, 2023 · 0 comments
Open

[GA] Genotype - optimize for space usage #34

swirszcz-adrian opened this issue Mar 29, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@swirszcz-adrian
Copy link
Collaborator

Currently genotype stores a list of vertices. This isn't necessarily a bad way to store data, but it is far from being space efficient - every Vertex contains both Vector2 holding position on screen and a full list of Edge objects. Therefore I'd suggest, that Genotype stores a list of indices instead, and gets all Vertex info from the reference to the original Graf object.

PLEASE make those changes on GA-algorithm-dev branch, cause I dont want to jump over three different branches, just to check for potential merges every time I open Visual Studio

@swirszcz-adrian swirszcz-adrian added the bug Something isn't working label Mar 29, 2023
@swirszcz-adrian swirszcz-adrian self-assigned this Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant