4 * Copyright (c) 2007 Des Higgins, Julie Thompson and Toby Gibson.
11 #include "ClusterTreeAlgorithm.h"
12 #include "../general/userparams.h"
17 class NJTree : public ClusterTreeAlgorithm
20 NJTree(): verbose(false){};
23 /** calculate an NJ tree
25 * @param phyTree the tree structure
26 * @param distMat distance matrix
27 * @param seqInfo holding sequence number info
28 * @param log ofstream to log info to (used by -outputtree)
31 virtual void generateTree(clustalw::PhyloTree* phyTree,
32 clustalw::DistMatrix* distMat,
33 clustalw::SeqInfo* seqInfo,
35 /** be verbose during tree generation
37 * if set to true, generateTree will need a log ofstream
39 virtual void setVerbose(bool choice){verbose = choice;};