**/
public class ConflictTracker extends ListenerAdapter {
- // Public graph: to allow the StateReducer class to access it
- public static final HashMap<Integer, Node> nodes = new HashMap<Integer, Node>(); // Nodes of a graph
- // Private
+
private final PrintWriter out;
+ private final HashMap<Integer, Node> nodes = new HashMap<Integer, Node>(); // Nodes of a graph
private final HashSet<String> conflictSet = new HashSet<String>(); // Variables we want to track
private final HashSet<String> appSet = new HashSet<String>(); // Apps we want to find their conflicts
private final HashSet<String> manualSet = new HashSet<String>(); // Writer classes with manual inputs to detect direct-direct(No Conflict) interactions