-
Notifications
You must be signed in to change notification settings - Fork 344
Randomization options in JPF
The randomization options in JPF allow the user to experiment in randomizing the order of choices explored.
cg.randomize_choices
can have three possible values: random, path, def.
-
random
: It explores random choices during program execution with varying results among different trials. The default seed used to generate different results is the system time in milliseconds -
path
: It explores random choices during program execution with reproducible results among different trials. The default seed used to generate reproducible results is 42. The value of the seed can be changed by setting the seed config option. -
def
: No randomization, choices are explored using the default search order imposed by the model checker.
cg.seed (_INT_)
: The user can specify a particular seed for the random number generator in order to obtain reproducible results in the presence of randomization. Note that this is effective only when the path
option of randomize_choices
is selected.
Please contact us by creating an issue. We are trying to fix the process below, which no longer works.
-
How to obtain and install JPF
- System requirements
- Downloading
- Creating a site properties file
- Building, testing, and running
- JPF plugins
-
Developer guide
- Top-level design
- Key mechanisms
- Extension mechanisms
- Common utilities
- Running JPF from within your application
- Writing JPF tests
- Coding conventions
- Hosting an Eclipse plugin update site