Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
CalcComplexity is a Newick code snippets to calculate the complexity of a Newick.
CalcComplexity has two flavors:
If the complexity exceeds the maximum integer value, a std::range_error is thrown. Use the CLN version if you do need to calculate higher complexities.
///CalcComplexity calculates the complexity of a Newick. |
///CalcComplexity calculates the complexity of a Newick. |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.