ida.pelab.prt.patternhierarchy
Class PatternHierarchyGraph

java.lang.Object
  extended by ida.pelab.prt.patternhierarchy.PatternHierarchyGraph

public class PatternHierarchyGraph
extends java.lang.Object


Method Summary
static void addPatternToGraph(PatternStructure newPattern)
           
static void addPatternToGraph(PatternStructure newPattern, java.util.ArrayList<PatternStructure> topLevelPatterns)
           
static void AddTopLevelPattern(PatternStructure currentPattern, PatternStructure topLevelPattern)
           
static void clear()
           
static java.util.ArrayList<PatternStructure> getHorizontalList()
           
static java.util.ArrayList<PatternStructure> getPatternsByLevel(PatternLevel level)
           
static java.util.ArrayList<PatternStructure> getTopLevelPattern(PatternStructure pattern)
           
static boolean hasPatternatLevel(java.lang.String patternName, PatternLevel level)
          checks whether there exists a pattern with the name "patternName" at the level specified by the level variable
static boolean isEmpty()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getTopLevelPattern

public static java.util.ArrayList<PatternStructure> getTopLevelPattern(PatternStructure pattern)

addPatternToGraph

public static void addPatternToGraph(PatternStructure newPattern,
                                     java.util.ArrayList<PatternStructure> topLevelPatterns)

addPatternToGraph

public static void addPatternToGraph(PatternStructure newPattern)

getPatternsByLevel

public static java.util.ArrayList<PatternStructure> getPatternsByLevel(PatternLevel level)

hasPatternatLevel

public static boolean hasPatternatLevel(java.lang.String patternName,
                                        PatternLevel level)
checks whether there exists a pattern with the name "patternName" at the level specified by the level variable

Parameters:
patternName -
level -
Returns:

AddTopLevelPattern

public static void AddTopLevelPattern(PatternStructure currentPattern,
                                      PatternStructure topLevelPattern)

getHorizontalList

public static java.util.ArrayList<PatternStructure> getHorizontalList()

isEmpty

public static boolean isEmpty()

clear

public static void clear()