High-level description
TheCassiopeiaSolver is an abstract base class for all phylogenetic inference algorithms in the Cassiopeia framework. It defines the basic structure and interface for solvers, requiring subclasses to implement the solve method, which performs the actual tree inference. It also handles the transformation of prior probabilities into weights used by some solvers.
Code Structure
TheCassiopeiaSolver class is an abstract base class. It doesn’t have any internal logic or complex interactions between symbols. The main purpose of this class is to define a common interface for all derived solver classes.
Symbols
CassiopeiaSolver
Description
This is an abstract base class for all phylogenetic inference algorithms. It defines the basic structure and interface for solvers.Inputs
Outputs
This class does not have any outputs.Internal Logic
This class does not have any internal logic.solve
Description
This is an abstract method that needs to be implemented by all derived solver classes. It performs the actual tree inference.Inputs
Outputs
This method does not have any outputs. It modifies the inputcassiopeia_tree object by populating its tree attribute.
