-
Notifications
You must be signed in to change notification settings - Fork 2
Input Framework
The input to our project consists of 3 json files namely base.json, current.json, and modify.json organized into separate directories for every concerned species. The current implementation of the project holds 2 of the Five Kingdom Classification of living beings, i.e. Animal kingdom (Animalia) and Plant Kingdom (Plantae).
The input files for every species is organized in the following manner:
[ kingdom-name ] / [ species-name ] / base.json
[ kingdom-name ] / [ species-name ] / current.json
[ kingdom-name ] / [ species-name ] / modify.json
The significance of the above-mentioned files are as follows:
base.json - Contains the initial theoretical parameters for a species determined by the creator (user). This file can be edited to change the starting features of a species.
current.json - Contains the theoretical parameters for a species in the current generation. This file cannot be directly modified by the user.
modify.json - Contains parameters governing the extent of change of parameters defined in current.json possible over a generation gap. This file can be edited by the creator (user).
These files contain the json representation of the non-hereditary traits of an organism of a species as shown in the following section.
1. Chromosomes
Type : ordered list of Bits
Structural syntax :
0 | 1 | 1 | 1 | 0 | 0 | 1 | ... | 1 | 0 |
---|
Set of finite values that exhaustively define all hereditary traits (or possible traits) in an organism, which does not change during their lifetime. The smallest unit of a chromosome is called a gene. The final bit in the chromosome shall represent the gender of the organism.
Type : unordered list of Float
Structural syntax :
15 | 1.1 | 73 | ... | 1000 |
---|
Set of finite values that exhaustively define all non-hereditary traits (or possible traits) in an organism, which are learned and updated gradually throughout their lifetime as a function of time.
Example traits:
Trait | Value |
---|---|
age | 15 |
height | 1.1 |
weight | 73 |
... | ... |
max appetite | 1000 |
Type : unordered list of Float
Structural syntax :
45 | 81 | 27 | ... | 100 |
---|
Set of finite values that exhaustively define all dynamic traits (or possible traits) in an organism, which changes rapidly as an effect of interaction with their surroundings as a function of time.
Example traits:
Trait | Value |
---|---|
speed | 45 |
vitality | 81 |
stamina | 27 |
... | ... |
appetite | 100 |
4. Generation
Type : Integer
Denotes the generation to which the organism was born. Organisms belonging to the same generation are termed siblings. Organisms born to the same parent are direct siblings.
5. Fitness
Type : Float
A measure of survivability of the organism with respect to their species. A value of 0 denotes inevitable extinction, and a value of 1 denotes an ideal organism in the proposed ecosystem.
🏠 About | 🔌 Setup | 🔩 Framework | 💻 Code