ida.pelab.prt.patternhierarchy
Class PatternHierarchyGraph
java.lang.Object
ida.pelab.prt.patternhierarchy.PatternHierarchyGraph
public class PatternHierarchyGraph
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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()