diff options
author | Mathias Preiner <mathias.preiner@gmail.com> | 2019-12-17 13:43:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 13:43:44 -0800 |
commit | e9499c41f405df8b42fd9ae10004b1b91a869106 (patch) | |
tree | fa1475f43a3e61b8f6ffdcb903b65919eba28661 /src/options/uf_options.toml | |
parent | 9b2914ed9f7b14ecf535ffe9e1328d0fa042e072 (diff) |
Generate code for options with modes. (#3561)
This commit adds support for code generation of options with modes (enums). From now on option enums can be specified in the corresponding *.toml files without the need of extra code. All option enums are now in the options namespace.
Diffstat (limited to 'src/options/uf_options.toml')
-rw-r--r-- | src/options/uf_options.toml | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/options/uf_options.toml b/src/options/uf_options.toml index 8790e4ec3..6916598ce 100644 --- a/src/options/uf_options.toml +++ b/src/options/uf_options.toml @@ -51,12 +51,20 @@ header = "options/uf_options.h" name = "ufssMode" category = "regular" long = "uf-ss=MODE" - type = "CVC4::theory::uf::UfssMode" - default = "CVC4::theory::uf::UF_SS_FULL" - handler = "stringToUfssMode" - includes = ["options/ufss_mode.h"] + type = "UfssMode" + default = "FULL" read_only = true help = "mode of operation for uf with cardinality solver." + help_mode = "UF with cardinality options currently supported by the --uf-ss option when combined with finite model finding." +[[option.mode.FULL]] + name = "full" + help = "Default, use UF with cardinality to find minimal models for uninterpreted sorts." +[[option.mode.NO_MINIMAL]] + name = "no-minimal" + help = "Use UF with cardinality to shrink models, but do no enforce minimality." +[[option.mode.NONE]] + name = "none" + help = "Do not use UF with cardinality to shrink model sizes." [[option]] name = "ufssFairness" |