projects
/
jpf-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First version of POR; need to double check the backtrack set analysis.
[jpf-core.git]
/
main.jpf
diff --git
a/main.jpf
b/main.jpf
index d9feee526e7decf025d187dee5cb1642504411c4..9ef7754c722ff9ce072b220b95113ca3bf105c30 100644
(file)
--- a/
main.jpf
+++ b/
main.jpf
@@
-1,13
+1,15
@@
target = main
# This is the listener that can detect variable write-after-write conflicts
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.VariableConflictTracker,gov.nasa.jpf.listener.StateReducer
# Potentially conflicting variables
# Alarms
#variables=currentAlarm
# Locks
# Potentially conflicting variables
# Alarms
#variables=currentAlarm
# Locks
-
#
variables=currentLock
+variables=currentLock
# Thermostats
#variables=currentHeatingSetpoint,thermostatSetpoint,currentCoolingSetpoint,thermostatOperatingState,thermostatFanMode,currentThermostatMode
# Switches
# Thermostats
#variables=currentHeatingSetpoint,thermostatSetpoint,currentCoolingSetpoint,thermostatOperatingState,thermostatFanMode,currentThermostatMode
# Switches
@@
-17,11
+19,13
@@
listener=gov.nasa.jpf.listener.VariableConflictTracker
# Speeches
#variables=level,oneUser
# Music players
# Speeches
#variables=level,oneUser
# Music players
-#variables=status,level,trackDescription,trackData,mute
+#variables=status,
duration,
level,trackDescription,trackData,mute
# Relay switch
#variables=currentSwitch
# Valves
# Relay switch
#variables=currentSwitch
# Valves
-variables=valve,valveLatestValue
+#variables=valve,valveLatestValue
+# Cameras
+#variables=image,alarmState
# Potentially conflicting apps (we default to App1 and App2 for now)
apps=App1,App2
# Potentially conflicting apps (we default to App1 and App2 for now)
apps=App1,App2
@@
-29,10
+33,15
@@
apps=App1,App2
# Tracking the location.mode variable conflict
#track_location_var_conflict=true
# 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
# 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
#search.class = gov.nasa.jpf.search.heuristic.UserHeuristic
#search.class = gov.nasa.jpf.search.heuristic.BFSHeuristic
#search.class = gov.nasa.jpf.search.heuristic.DFSHeuristic