org.knime.base.util.kdtree
Class TerminalBucket<T>

java.lang.Object
  extended by org.knime.base.util.kdtree.TerminalBucket<T>
Type Parameters:
T - the type of the data stored inside the tree
All Implemented Interfaces:
Iterable<TerminalNode<T>>, Node

 class TerminalBucket<T>
extends Object
implements Node, Iterable<TerminalNode<T>>

This class represents a terminal bucket in a k-d tree. A bucket contains several terminal nodes.

Author:
Thorsten Meinl, University of Konstanz

Constructor Summary
TerminalBucket(List<TerminalNode<T>> nodes)
          Creates a new terminal bucket.
 
Method Summary
 Iterator<TerminalNode<T>> iterator()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerminalBucket

public TerminalBucket(List<TerminalNode<T>> nodes)
Creates a new terminal bucket.

Parameters:
nodes - the nodes inside the bucket
Method Detail

iterator

public Iterator<TerminalNode<T>> iterator()

Specified by:
iterator in interface Iterable<TerminalNode<T>>


Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.