/usr/include/libphylo/treeUtil.h is in rate4site 3.0.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | // $Id: treeUtil.h 10476 2012-03-18 07:57:33Z itaymay $
#ifndef ___TREE_UTIL
#define ___TREE_UTIL
#include "definitions.h"
#include "tree.h"
vector<tree> getStartingTreeVecFromFile(string fileName);
tree starTree(const vector<string>& names);
void getStartingTreeVecFromFile(string fileName,
vector<tree>& vecT,
vector<char>& constraintsOfT0);
vector<tree> getNexusTreesFromFile (const string& nexusTreesFile);
bool sameTreeTolopogy(tree t1, tree t2);
bool cutTreeToTwo(tree bigTree,
const string& nameOfNodeToCut,
tree &small1,
tree &small2);
tree::nodeP makeNodeBetweenTwoNodes( tree& et,
tree::nodeP nodePTR1,
tree::nodeP nodePTR2,
const string &interName);
void cutTreeToTwoSpecial(const tree& source,
tree::nodeP intermediateNode,
tree &resultT1PTR,
tree &resultT2PTR);
vector<string> getSequencesNames(const tree& t);
MDOUBLE getSumOfBranchLengths(const tree &t);
void printDataOnTreeAsBPValues(ostream &out, Vstring &data, tree &tr) ;
void printDataOnTreeAsBPValues(ostream &out, Vstring &data, const tree::nodeP &myNode) ;
MDOUBLE getDistanceFromNode2ROOT(const tree::nodeP &myNode);
void fillAllNodesNames(Vstring& Vnames,const tree& tr);
void printTreeWithValuesAsBP(ostream &out, const tree &tr, Vstring values, VVVdouble *probs, int from, int to);
void printTreeWithValuesAsBP(ostream &out, const tree::nodeP &myNode, Vstring values, VVVdouble *probs, int from, int to);
#endif
|