コード例 #1
0
 public void terminate(ClusModel model) throws IOException {
   CompleteTreeIterator iter = new CompleteTreeIterator((ClusNode) model);
   while (iter.hasMoreNodes()) {
     ClusNode node = (ClusNode) iter.getNextNode();
     node.getClusteringStat().calcMean();
   }
 }
コード例 #2
0
 public void initialize(ClusModel model, ClusSchema schema) {
   CompleteTreeIterator iter = new CompleteTreeIterator((ClusNode) model);
   while (iter.hasMoreNodes()) {
     ClusNode node = (ClusNode) iter.getNextNode();
     ClusStatistic stat = m_Clone.cloneStat();
     node.setClusteringStat(stat);
     stat.setSDataSize(1);
   }
 }