cz.cuni.amis.pogamut.defcon.utils.quadtree
Class DepthLimitedQuadTreePostorderIterator

Package class diagram package DepthLimitedQuadTreePostorderIterator
java.lang.Object
  extended by cz.cuni.amis.pogamut.defcon.utils.quadtree.QuadTreePostorderIterator
      extended by 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

Constructor Summary
DepthLimitedQuadTreePostorderIterator(QuadTree tree, int maxDepth)
          Level 1 is root.
 
Method Summary
 QuadTreeNode next()
           
 
Methods inherited from class cz.cuni.amis.pogamut.defcon.utils.quadtree.QuadTreePostorderIterator
getBranching, getNode, getRoot, hasNext, isFinished, remove, setFinished, setNode, setRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DepthLimitedQuadTreePostorderIterator

public DepthLimitedQuadTreePostorderIterator(QuadTree tree,
                                             int maxDepth)
Level 1 is root.

Parameters:
tree -
maxDepth -
Method Detail

next

public QuadTreeNode next()
Specified by:
next in interface Iterator<QuadTreeNode>
Overrides:
next in class QuadTreePostorderIterator


Copyright © 2014 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.