richelbilderbeek / pbdmms

Some models
GNU General Public License v3.0
2 stars 0 forks source link

sado: Combining pedigree and kewe_count_species #235

Closed Lumphie closed 7 years ago

Lumphie commented 7 years ago

Now that the pedigree works I have to combine it with the species count of kewe.

Lumphie commented 7 years ago

ribi::zip should do this, but doesn't completely work yet.

Lumphie commented 7 years ago

Created sado_species now

Species have a generation number as a member.

I have to create the species graph and then delete every extra incoming edge so that every species has 1 incoming edge and 1 or more outgoing edges.

Then I can count the corrected number of species in every generation and make an nltt from that.

Lumphie commented 7 years ago

Last update, the functions I made should work, but still have to fix some mistakes (will do monday)

Lumphie commented 7 years ago

Also have to make something to count the generations between 2 species

//int generations = generation_j - generation_i; //sado::add_int_edge(pair_i.second, pair_j.second, generations, g);