Ancestry segments are currently stored as a vector<vector<segment>>. This PR replaces that data structure with ancestry_list, with stores a vector and index vectors to model a forward list of ancestry chains.
Also emits output edges back into the original input edge table during simplification. This change also results in substantial RAM savings.
Add examples/load_table_collection, which also helped testing the outputs of this branch vs. dev.
Ancestry segments are currently stored as a and index vectors to model a forward list of ancestry chains.
vector<vector<segment>>
. This PR replaces that data structure with ancestry_list, with stores a vectorAlso emits output edges back into the original input edge table during simplification. This change also results in substantial RAM savings.
Add examples/load_table_collection, which also helped testing the outputs of this branch vs. dev.