Comments (1)
Moved "private" functions out of dose.py into simulation_calls.py
- simulation_calls.py consists of:
- coordinates(location)
- adjacent_cells(sim_parameters, location)
- spawn_populations(sim_parameters)
- eco_cell_iterator(World, sim_parameters, function)
- deploy(sim_parameters, Populations, pop_name, World)
- interpret_chromosome(sim_parameters, Populations, pop_name, World)
- step(Populations, pop_name, sim_functions)
- report_generation(sim_parameters, Populations, pop_name, sim_functions, generation_count)
- bury_world(sim_parameters, World, generation_count)
- write_parameters(sim_parameters, pop_name)
- close_results(sim_parameters, pop_name)
- Each function is imported into dose.py independently, making changes to the simulation function unnecessary.
- simulation_calls.py is imported into simulation files as 'helper' to function as helping functions like coordinates and adjacent_cells that help in the simulation.
- filter_by_xxx helping functions still remain inside dose.py for ease of use
from dose.
Related Issues (20)
- Removed all unused modules in COPADS HOT 1
- add database logging in examples 3, 4 and 5 HOT 1
- writing function documentation for dose.simulate() function HOT 1
- Rename max_cell_population in simulation_parameters into tape_length HOT 1
- refactoring simulation_calls.deploy() function HOT 1
- add population name into Organism.status dictionary HOT 1
- extract() support methods HOT 1
- offsprings to store parents' identity in offsprings' status as list in status['parents'] HOT 1
- Refactor revive_simulation() and simulate() to call simulation_core() HOT 1
- 08_revive_simulation_03.py returns a TypeError exception when reconstructing World HOT 1
- Reconstruct write_parameters() to handle all kinds of simulation HOT 1
- write brief in-file documentation for examples HOT 1
- list the main means of how to analyze simulations #03, 04, 05
- link up database_calls.db_list_xxx functions for calls from DOSE shell HOT 1
- dose shell - convert objects (from results dictionary) to Python objects (in userdata dictionary)
- Update documentation for examples 13, 14, 15 and 16 under Examples and Case Studies
- Implement get_status_by_generation function in analytics.py HOT 1
- wiki - Clarence's short biography HOT 1
- Is our point mutation operator biologically sound?
- Problems with finding diameter of network prior to implementation of Diameter() in dossier.py
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dose.