Some fixes for the DPOR state-reducer.
[jpf-core.git] / main.jpf
index 5b61c44e740ca7727c0f1262fbcfe6b7dd1f345d..35b5ea4416cbd3dc5bec43696884389a0df22416 100644 (file)
--- a/main.jpf
+++ b/main.jpf
@@ -1,7 +1,16 @@
 target = main
 
 # This is the listener that can detect variable write-after-write conflicts
-listener=gov.nasa.jpf.listener.VariableConflictTracker
+#listener=gov.nasa.jpf.listener.VariableConflictTracker
+#listener=gov.nasa.jpf.listener.StateReducer
+#listener=gov.nasa.jpf.listener.StateReducerOld
+#listener=gov.nasa.jpf.listener.VariableConflictTracker,gov.nasa.jpf.listener.StateReducer
+#listener=gov.nasa.jpf.listener.ConflictTracker,gov.nasa.jpf.listener.StateReducer
+
+#listener=gov.nasa.jpf.listener.ConflictTracker,gov.nasa.jpf.listener.StateReducerClean
+#listener=gov.nasa.jpf.listener.ConflictTracker
+#listener=gov.nasa.jpf.listener.StateReducerClean
+listener=gov.nasa.jpf.listener.StateReducer
 
 # Potentially conflicting variables
 # Alarms
@@ -13,11 +22,21 @@ variables=currentLock
 # Switches
 #variables=currentSwitch
 # Lights
-#variables=color,hue,saturation
+#variables=colorChanged,currentHue,currentSaturation,currentLevel,currentSwitch,colorTemperature
+# Dimmers
+#variables=currentSwitch,currentLevel
+# Speeches
+#variables=level,oneUser
 # Music players
-#variables=status,level,trackDescription,trackData,mute
+#variables=status,duration,level,trackDescription,trackData,mute
 # Relay switch
 #variables=currentSwitch
+# Valves
+#variables=valve,valveLatestValue
+# Cameras
+#variables=image,alarmState
+# Location
+#variables=locationMode
                        
 # Potentially conflicting apps (we default to App1 and App2 for now)
 apps=App1,App2
@@ -25,10 +44,15 @@ apps=App1,App2
 # Tracking the location.mode variable conflict
 #track_location_var_conflict=true
 
+# Debug mode for StateReducer
+debug_state_transition=true
+#activate_state_reduction=true
+
 # Timeout in minutes (default is 0 which means no timeout)
-timeout=0
+timeout=30
 
 #search.class = gov.nasa.jpf.search.heuristic.RandomHeuristic
+#search.heuristic.beam_search=true
 #search.class = gov.nasa.jpf.search.heuristic.UserHeuristic
 #search.class = gov.nasa.jpf.search.heuristic.BFSHeuristic
 #search.class = gov.nasa.jpf.search.heuristic.DFSHeuristic