{\r
if (type.equals("NJ"))\r
{\r
- float mind = findMinNJDistance();\r
+ findMinNJDistance();\r
}\r
else\r
{\r
- float mind = findMinDistance();\r
+ findMinDistance();\r
}\r
\r
Cluster c = joinClusters(mini, minj);\r
}\r
}\r
\r
- Cluster c = joinClusters(one, two);\r
+ joinClusters(one, two);\r
top = (SequenceNode) (node.elementAt(one));\r
\r
reCount(top);\r
public void findNewNJDistances(SequenceNode tmpi, SequenceNode tmpj,\r
float dist)\r
{\r
- float ih = 0;\r
- float jh = 0;\r
-\r
- SequenceNode sni = tmpi;\r
- SequenceNode snj = tmpj;\r
-\r
+ \r
tmpi.dist = ((dist + ri) - rj) / 2;\r
tmpj.dist = (dist - tmpi.dist);\r
\r
*/\r
public void findClusterNJDistance(int i, int j)\r
{\r
- int noi = ((Cluster) cluster.elementAt(i)).value.length;\r
- int noj = ((Cluster) cluster.elementAt(j)).value.length;\r
\r
// New distances from cluster to others\r
float[] newdist = new float[noseqs];\r
}\r
}\r
\r
- /**\r
- * DOCUMENT ME!\r
- *\r
- * @param node DOCUMENT ME!\r
- */\r
- public void setMaxDist(SequenceNode node)\r
- {\r
- this.maxdist = maxdist;\r
- }\r
\r
/**\r
* DOCUMENT ME!\r