Ignore:
Timestamp:
08/08/16 22:49:00 (8 years ago)
Author:
oriona
Message:

Inherited entry for cross-over corrected.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • experiments/frams/foraminifera/data/scripts/foraminifera.inc

    r567 r573  
    4141
    4242                var oper = "cloning";
     43                var inherit = [1.0];
    4344                if (mode->parentsuids.size > 1)
    4445                {       
    4546                        oper = "cross-over";
     47                        inherit = [0.5, 0.5];
    4648                }
    4749               
    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};
    4951                Simulator.print("[OFFSPRING] " + String.serialize(dict));               
    5052        }
Note: See TracChangeset for help on using the changeset viewer.