Make a change in ConflictTracker analysis
[jpf-core.git] / main.jpf
index 9b0c4c6cbe94bf072d45752fb35f113467320508..cfef551bc29338a9abf72d472ea41f4975d12145 100644 (file)
--- a/main.jpf
+++ b/main.jpf
@@ -1,36 +1,54 @@
 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
 
 # Potentially conflicting variables
 # Alarms
 #variables=currentAlarm
 # Locks
-#variables=currentLock
+variables=currentLock
 # Thermostats
 #variables=currentHeatingSetpoint,thermostatSetpoint,currentCoolingSetpoint,thermostatOperatingState,thermostatFanMode,currentThermostatMode
 # Switches
 #variables=currentSwitch
 # Lights
-#variables=currentColor,currentHue,currentSaturation,currentLevel,currentSwitch,colorTemperature
+#variables=colorChanged,currentHue,currentSaturation,currentLevel,currentSwitch,colorTemperature
 # Speeches
-variables=level,oneUser
+#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
 
+# Writer classes with manual input to detect direct-direct interactions
+manualClasses=appTouch,AeonKeyFob,Button,NfcTouch,ThreeAxis
+
 # 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=30
 
-#search.class = gov.nasa.jpf.search.heuristic.RandomHeuristic
+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