benjamin-rood / abm-cp

A Predator-Prey Agent Based Model of prey colour polymorphism (CP) in Go
MIT License
7 stars 1 forks source link

Visual Predators copulating via telepathy rather than physically. #11

Closed benjamin-rood closed 8 years ago

benjamin-rood commented 8 years ago

Currently in abm/vp-rbb.go line 26 – 29:

case "FERTILE":
        mate, err := vp.MateSearch(vpPop, me)
        errCh <- err
        vp.Copulation(mate, ctxt.VpReproductionChance, ctxt.VpGestation, ctxt.VpSexualRequirement)

There's no proximity test! So if vp can "see" a potential mate, then they telepathically attempt to copulate. WHOOPS.

benjamin-rood commented 8 years ago

Fixed by 716d9d5