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

database - database file #18

Closed
mauriceling opened this issue Oct 3, 2013 · 1 comment
Closed

database - database file #18

mauriceling opened this issue Oct 3, 2013 · 1 comment

Comments

@mauriceling
Copy link
Owner

  1. A simulation can log all the data (simulation parameters, Organism.status, Organism.genome, World.ecosystem) in a database file.
  2. Organism.status, Organism.genome, and World.ecosystem logging by default is done for every generation. However, user can change this in simulation parameters as "database_logging_frequency".
  3. Database file path/name is given in simulation parameters as "database_file". If not exist, the file will be created. If exist, it will just use the existing database file.
@mauriceling
Copy link
Owner Author

  1. Implemented database_calls.prepare_database() function.

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

No branches or pull requests

1 participant