| 
    SubcloneSeeker
    1.0.0
    
   Subclone deconvolution software framework 
   | 
 
Delegate class handling tree traversing. More...
#include <TreeNode.h>
  
 Public Member Functions | |
| TreeTraverseDelegate () | |
| virtual | ~TreeTraverseDelegate () | 
| void | terminate () | 
| bool | isTerminated () | 
| virtual void | preprocessNode (TreeNode *) | 
| virtual void | processNode (TreeNode *)=0 | 
| virtual void | postprocessNode (TreeNode *) | 
Protected Attributes | |
| bool | _isTerminated | 
Delegate class handling tree traversing.
This delegate class defines a abstract method processNode, which will be called with the TreeNode the tree traversing algorithm is currently on.
It also handles flow control, such as early termination
      
  | 
  inline | 
Constructor
      
  | 
  inlinevirtual | 
Destructor
      
  | 
  inline | 
check whether the traversing has been terminated
      
  | 
  inlinevirtual | 
Hook to call after children nodes are recursively processed
| node | the node whose children nodes are recursively processed | 
Reimplemented in TreePrintTraverser, CoexistanceTraverseDelegate, and TreePrintTraverser.
      
  | 
  inlinevirtual | 
Hook to call before children nodes are recursively processed
| node | the node whose children nodes are to be recursively processed | 
Reimplemented in TreePrintTraverser, SubcloneSeeker::SubcloneSaveTreeTraverser, TreePrintTraverser, and CoexistanceTraverseDelegate.
      
  | 
  pure virtual | 
Process the given node during a tree traverse
| node | the Node which needs to be processed | 
Implemented in TreeMergeTraverseSecondary, SubcloneSeeker::SubcloneLoadTreeTraverser, TreePrintTraverser, SubcloneSeeker::SubcloneSaveTreeTraverser, EdgePrintTraverser, NodePrintTraverser, TreePrintTraverser, and CoexistanceTraverseDelegate.
      
  | 
  inline | 
terminate the traversing
      
  | 
  protected | 
whether the traversing has been terminated