cz.cuni.amis.pogamut.defcon.utils.quadtree
Class DepthLimitedQuadTreePostorderIterator
java.lang.Object
cz.cuni.amis.pogamut.defcon.utils.quadtree.QuadTreePostorderIterator
cz.cuni.amis.pogamut.defcon.utils.quadtree.DepthLimitedQuadTreePostorderIterator
- All Implemented Interfaces:
- Iterator<QuadTreeNode>
- Direct Known Subclasses:
- WidthLimitedQuadTreePostorderIterator
public class DepthLimitedQuadTreePostorderIterator
- extends QuadTreePostorderIterator
Quadtree iterator with a limited depth of access.
- Author:
- Radek 'Black_Hand' Pibil
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DepthLimitedQuadTreePostorderIterator
public DepthLimitedQuadTreePostorderIterator(QuadTree tree,
int maxDepth)
- Level 1 is root.
- Parameters:
tree
- maxDepth
-
next
public QuadTreeNode next()
- Specified by:
next
in interface Iterator<QuadTreeNode>
- Overrides:
next
in class QuadTreePostorderIterator
Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.