8000 Geometry is not carried around with the Individuals in population · Issue #17 · p-chambers/occ_airconics · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Geometry is not carried around with the Individuals in population #17

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

Open
p-chambers opened this issue Jan 17, 2017 · 0 comments
Open

Comments

@p-chambers
Copy link
Owner

Behaviour in Topology_GPTools is currently to produce and airconics.Topology from a DEAP primitive tree or individual. The evolved population of individuals therefore have no information about the geometry, and the airconics.Topology objects are required to carry around a copy of an individual from the tree, neither of which is ideal.

The better approach here would be to make the individuals in the gp population also inherit from the Topology class, thus carrying the geometry.

This change would require the Topology_GPTools primitive to be changed, as primitives (methods of the Topology_GPTools class) operate on class attributes, rather than an input Individual or Topology. Once this is done though, the parallelisation will be much easier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant
0