Change the way o2geosocial lists the potential infectors for each case to speed up the process (especially for large datasets):
Adds the function cpp_gen_tree (in src/internals.cpp): to find the genotype reported in a given tree
In cpp_move_alpha and cpp_move_ancestors: 1/ Before exploring new infectors, use the functions cpp_find_all_tree and cpp_gen_tree to find the genotype "driving" the tree each case belongs to. 2/ After accepting a new infector, updates the genotype driving the trees involved in the connection.
Change the way o2geosocial lists the potential infectors for each case to speed up the process (especially for large datasets):