|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.datastructures.EulerTour<E,R>
public abstract class EulerTour<E,R>
Template for algorithms traversing a binary tree using an Euler tour. The subclasses of this class will redefine some of the methods of this class to create a specific traversal.
Nested Class Summary | |
---|---|
class |
EulerTour.TourResult<RInner>
|
Constructor Summary | |
---|---|
EulerTour()
|
Method Summary | |
---|---|
abstract R |
execute(BinaryTree<E> T)
Execution of the traversal. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EulerTour()
Method Detail |
---|
public abstract R execute(BinaryTree<E> T)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |