Fixing a bug: we need to start choiceCounter from 1 instead of 0 for subsequent execu...
[jpf-core.git] / main.jpf
index c1e04caa3a112f3021d70fc9d9b2e4dc8a1dbb0b..0665ff278cd59fec861036dfed8e300fbe2cb4b1 100644 (file)
--- a/main.jpf
+++ b/main.jpf
@@ -1,19 +1,30 @@
 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.ConflictTrackerOld,gov.nasa.jpf.listener.StateReducer
+##listener=gov.nasa.jpf.listener.ConflictTrackerOld,gov.nasa.jpf.listener.DPORStateReducer
+##listener=gov.nasa.jpf.listener.ConflictTrackerOld
+listener=gov.nasa.jpf.listener.DPORStateReducer
 
 # Potentially conflicting variables
 # Alarms
 #variables=currentAlarm
 # Locks
-#variables=currentLock
+#variables=lock
+variables=currentLock
 # Thermostats
 #variables=currentHeatingSetpoint,thermostatSetpoint,currentCoolingSetpoint,thermostatOperatingState,thermostatFanMode,currentThermostatMode
 # Switches
 #variables=currentSwitch
 # Lights
 #variables=colorChanged,currentHue,currentSaturation,currentLevel,currentSwitch,colorTemperature
+# Dimmers
+#variables=currentSwitch,currentLevel
 # Speeches
 #variables=level,oneUser
 # Music players
@@ -23,18 +34,26 @@ listener=gov.nasa.jpf.listener.VariableConflictTracker
 # Valves
 #variables=valve,valveLatestValue
 # Cameras
-variables=image,alarmState
+#variables=image,alarmState
+# Location
+#variables=locationMode
                        
 # Potentially conflicting apps (we default to App1 and App2 for now)
 apps=App1,App2
 
-# Tracking the location.mode variable conflict
-track_location_var_conflict=true
+# Debug mode for ConflictTracker
+# We do not report any conflicts if the value is true
+#debug_mode=true
+
+# Debug mode for StateReducer
+printout_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.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