Class ModelCheckingOptions

java.lang.Object
org.bigraphs.framework.simulation.modelchecking.ModelCheckingOptions

@Configuration @ConfigurationProperties(prefix="model-checking", ignoreInvalidFields=true) public class ModelCheckingOptions extends Object
This class represents the available options for the model checker BigraphModelChecker. It can also be configured via an external configuration file.
Author:
Dominik Grzelak
  • Method Details

    • exportOpts

      public static ModelCheckingOptions.ExportOptions.Builder exportOpts()
    • transitionOpts

      public static ModelCheckingOptions.TransitionOptions.Builder transitionOpts()
    • create

      public static ModelCheckingOptions create()
    • and

    • setMeasureTime

      public void setMeasureTime(boolean measureTime)
    • isMeasureTime

      public boolean isMeasureTime()
    • setParallelRuleMatching

      public void setParallelRuleMatching(boolean flag)
      Instruct the simulation either to perform rule matching in parallel or sequentially (default).
      Parameters:
      flag - flag to enable or disable parallel rule matchings
    • doParallelRuleMatching

      public ModelCheckingOptions doParallelRuleMatching(boolean flag)
      Instruct the simulation either to perform rule matching in parallel or sequentially (default).
      Parameters:
      flag - flag to enable or disable parallel rule matchings
      Returns:
      the current options instance
    • isParallelRuleMatching

      public boolean isParallelRuleMatching()
    • doMeasureTime

      public ModelCheckingOptions doMeasureTime(boolean measureTime)
      Instruct the simulation to measure the time for individual steps of the current used simulation algorithm. Defaults to false. Useful for debugging purposes.
      Parameters:
      measureTime - flag to enable or disable time measurement
      Returns:
      the current options instance
    • get

      public <T extends ModelCheckingOptions.Opts> T get(ModelCheckingOptions.Options kind)