Skip to content

Conversation

@sdiazpier
Copy link

This PR addresses Issue #2 Removed unnecessary functions, parameter data structures and results data structures

… data structures and results data structures
Copy link
Member

@alperyeg alperyeg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An important cleanup step. Makes the trajectory easier to handle with.

# (index of individual within one generation)
traj.v_idx = run_index
ind_index = traj.par.ind_idx
ind_index = traj.parameters.ind_idx
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it is too much to do but maybe having an individual_indexinstead ind_idx is much clearer.

self._parameters.parameter_group = {}
self._parameters.parameter = {}
self.individual = Individual()
self.individuals = {}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should make individuals optional. Or more clearer keeping the history of all individuals should be optional. For example later on the specific individual will be added into the individuals dictionary per generation which can make a big overhead if the individual is big.

@alperyeg
Copy link
Member

alperyeg commented Nov 5, 2020

@sdiazpier how is the status of the cleanup? There are additionally conflicts now.

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

Successfully merging this pull request may close these issues.

3 participants