public class HeuristicManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.util.ArrayList<RegionHitExactHeuristic> |
regionHitExactHeuristicArray
used to collect all regions that we hit along with the number of paths that SPF had to explore through it.
|
Constructor and Description |
---|
HeuristicManager() |
Modifier and Type | Method and Description |
---|---|
static boolean |
addRegionExactHeuristic(RegionHitExactHeuristic newRegionHitExactHeuristic) |
static java.lang.String |
getLastRegionKey() |
static RegionHitExactHeuristic |
getRegionHeuristic() |
static int |
getRegionHeuristicSize() |
static boolean |
getRegionHeuristicStatus(java.lang.String key) |
static PathStatus |
incrementRegionExactHeuristicCount(gov.nasa.jpf.vm.Instruction instructionToExecute) |
static void |
printStatistics() |
static void |
regionHeuristicFinished(java.lang.String key) |
private static java.util.ArrayList<RegionHitExactHeuristic> regionHitExactHeuristicArray
public static boolean addRegionExactHeuristic(RegionHitExactHeuristic newRegionHitExactHeuristic)
public static PathStatus incrementRegionExactHeuristicCount(gov.nasa.jpf.vm.Instruction instructionToExecute)
public static void regionHeuristicFinished(java.lang.String key)
public static boolean getRegionHeuristicStatus(java.lang.String key)
public static java.lang.String getLastRegionKey()
public static RegionHitExactHeuristic getRegionHeuristic()
public static void printStatistics()
public static int getRegionHeuristicSize()