KNNTree

code format="java" public static KNNTree makeTree(ClusRun cr, ClusNode source,			VectorDistance vd) { KNNTree node = new KNNTree(cr, vd); node.m_Test = source.m_Test; node.m_ClusteringStat = source.m_ClusteringStat;

int arity = source.getNbChildren; node.setNbChildren(arity);

for (int i = 0; i < arity; i++) { ClusNode child = (ClusNode) source.getChild(i); node.setChild(KNNTree.makeTree(cr, child, vd), i); }		return node; } //这是Clus里面的KNNTree类中的建树代码，有些糊涂

code