Changeset 573 for experiments/frams/foraminifera/data
- Timestamp:
- 08/08/16 22:49:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
experiments/frams/foraminifera/data/scripts/foraminifera.inc
r567 r573 41 41 42 42 var oper = "cloning"; 43 var inherit = [1.0]; 43 44 if (mode->parentsuids.size > 1) 44 45 { 45 46 oper = "cross-over"; 47 inherit = [0.5, 0.5]; 46 48 } 47 49 48 var dict={"Time":Simulator.stepNumber,"FromIDs":mode->parentsuids,"ID":new_id, "Inherited": [1.0], "Operation": oper, "Kind" : mode->gen};50 var dict={"Time":Simulator.stepNumber,"FromIDs":mode->parentsuids,"ID":new_id, "Inherited":inherit, "Operation": oper, "Kind" : mode->gen}; 49 51 Simulator.print("[OFFSPRING] " + String.serialize(dict)); 50 52 }
Note: See TracChangeset
for help on using the changeset viewer.