41 #ifndef _NNISEARCHABLE_H_ 42 #define _NNISEARCHABLE_H_ 98 public virtual Clonable
104 #ifndef NO_VIRTUAL_COV 150 #endif //_NNISEARCHABLE_H_
Interface for Nearest Neighbor Interchanges algorithms.
Interface for phylogenetic tree objects.
virtual NNISearchable * clone() const =0
virtual void doNNI(int nodeId)=0
Perform a NNI movement.
Implement this interface to be notified when the topology of a tree has changed during topology searc...
virtual double testNNI(int nodeId) const =0
Send the score of a NNI movement, without performing it.
General exception thrown when something is wrong with a particular node.
virtual const Tree & getTopology() const =0
Get the tree associated to this NNISearchable object.
virtual double getTopologyValue() const =0
Get the current score of this NNISearchable object.