cz.cuni.amis.pogamut.shady
Class ShadeTree

Package class diagram package ShadeTree
java.lang.Object
  extended by cz.cuni.amis.pogamut.shady.ShadeTree

public class ShadeTree
extends Object

This class contains all nodes of one shade plan.

Author:
Honza

Field Summary
static String ROOT
           
 
Method Summary
 ShadeNode findNode(String name)
          Find the node of this plan with specified name and return it.
 ShadeNode getRoot()
          Find root of the plan.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ROOT

public static final String ROOT
See Also:
Constant Field Values
Method Detail

getRoot

public ShadeNode getRoot()
Find root of the plan.

Returns:
the root. If no root is found, throw MissingRootException

findNode

public ShadeNode findNode(String name)
Find the node of this plan with specified name and return it.

Parameters:
name - name of the node we are looking for.
Returns:
found node or null if no such node exists.


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