I am trying to model how the population reproduce.
I have a structure representing each individual. At each step when the
population reproduce.
Each invidual gives rise to their offspring/s. I want to keep track
of the pedigree relation****p between the individuals.
if the structure have a pointer pointing to its ancestor, since each
individual can give rise to a huge number of offsprings(which cannot
know in advance). what is the efficient way of housekeeping?
(ancestors who doesn't have descendents in the current population, I
don't care about them anymore.....)
--
comp.lang.c.moderated - moderation address: clcm@[EMAIL PROTECTED]
-- you must
have an appropriate newsgroups line in your header for your mail to be
seen,
or the newsgroup name in square brackets in the subject line. Sorry.