You are invited to Log in or Register a free Frihost Account!

# Generation X, as a range?

The individuals of generation 1 produces offsprings that becomes generation 2. Generation 2 produces offsprings that becomes generation 3, and so on. This is an easy way of thinking about it but it's not very realistic because in the wild individuals from different generations can mate and have offsprings.

Is there any standard way of counting generations when different generations can mix? I was thinking that instead of keeping track of a single generation number you keep track of a range e.g. a mother of generation 1 and a father of generation 2 would produce an offspring of generation 2—3.

To calculate the generation of an offspring you take the minimum and maximum of parent's range and add 1.
Father generation: 12—16
Mother generation: 14—17
Offspring generation: min(12, 14)+1—max(16, 17)+1 = 13—18

Is this the best way to count the generation number or are there other ways that makes more sense?
Bikerman
Seems like a basically sound idea but perhaps overcomplicated.
I would see the problem as a simple 'tree node' problem. Each node is the product of two other nodes. Generation would then be simple tree-traversal, counting each node back to wherever you want to count from. In this system you wouldn't keep a 'generation number' - which seems to me to be largely an artificial construct of limited use. If, for example, father mated with daughter, the node diagram would simply record this as

n1 - n2
:
n3 - n1
:
n4