bpp-phyl3
3.0.0
|
Implement this interface to be notified when the topology of a tree has changed during topology search. More...
#include <Bpp/Phyl/Tree/TopologySearch.h>
Public Member Functions | |
TopologyListener () | |
virtual | ~TopologyListener () |
TopologyListener * | clone () const =0 |
virtual void | topologyChangePerformed (const TopologyChangeEvent &event) |
Notify a topology change event. More... | |
virtual void | topologyChangeTested (const TopologyChangeEvent &event)=0 |
Notify a topology change event. More... | |
virtual void | topologyChangeSuccessful (const TopologyChangeEvent &event)=0 |
Tell that a topology change is definitive. More... | |
Implement this interface to be notified when the topology of a tree has changed during topology search.
Definition at line 46 of file TopologySearch.h.
|
inline |
Definition at line 50 of file TopologySearch.h.
|
inlinevirtual |
Definition at line 51 of file TopologySearch.h.
|
pure virtual |
Implements bpp::Clonable.
Implemented in bpp::DRTreeParsimonyScore, bpp::NNIHomogeneousTreeLikelihood, bpp::NNISearchable, bpp::NNITopologyListener2, and bpp::NNITopologyListener.
|
inlinevirtual |
Notify a topology change event.
This method is to be invoked after one or several NNI are performed. It allows appropriate recomputations.
In most case, this is the same as topologyChangeTested() + topologyChangeSuccessful().
event | The topology change event. |
Definition at line 67 of file TopologySearch.h.
References topologyChangeSuccessful(), and topologyChangeTested().
|
pure virtual |
Tell that a topology change is definitive.
This method is called after the topologyChangeTested() method.
event | The topology change event. |
Implemented in bpp::DRTreeParsimonyScore, bpp::NNIHomogeneousTreeLikelihood, bpp::NNITopologyListener2, and bpp::NNITopologyListener.
Referenced by topologyChangePerformed().
|
pure virtual |
Notify a topology change event.
event | The topology change event. |
Implemented in bpp::DRTreeParsimonyScore, bpp::NNIHomogeneousTreeLikelihood, bpp::NNITopologyListener2, and bpp::NNITopologyListener.
Referenced by topologyChangePerformed().