diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2017-11-03 15:36:38 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-03 15:36:38 -0500 |
commit | 5cafed748989602263b8ad1a27ac6b9bd159a441 (patch) | |
tree | b0e474f47251d480dce48637e73f663aba0dd179 /src/options/sygus_out_mode.h | |
parent | 3f2c2c745ae2f13441c1cabd363e6539c9bdaeb9 (diff) |
Sygus clean main (#1297)
* Remove front end hack for sygus.
* Remove other hack, add sygus solution output mode.
* Clang format
* Minor
* Fix
* Minor
* Remove unused field.
Diffstat (limited to 'src/options/sygus_out_mode.h')
-rw-r--r-- | src/options/sygus_out_mode.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/options/sygus_out_mode.h b/src/options/sygus_out_mode.h new file mode 100644 index 000000000..9f94be27f --- /dev/null +++ b/src/options/sygus_out_mode.h @@ -0,0 +1,39 @@ +/********************* */ +/*! \file sygus_out_mode.h + ** \verbatim + ** Top contributors (to current version): + ** Andrew Reynolds + ** This file is part of the CVC4 project. + ** Copyright (c) 2009-2017 by the authors listed in the file AUTHORS + ** in the top-level source directory) and their institutional affiliations. + ** All rights reserved. See the file COPYING in the top-level source + ** directory for licensing information.\endverbatim + ** + ** \brief Options for sygus solution output. + **/ + +#include "cvc4_public.h" + +#ifndef __CVC4__SMT__SYGUS_OUT_MODE_H +#define __CVC4__SMT__SYGUS_OUT_MODE_H + +#include <iosfwd> + +namespace CVC4 { + +/** Mode for printing sygus solutions. */ +enum SygusSolutionOutMode +{ + /** print status */ + SYGUS_SOL_OUT_STATUS, + /** (default) print status and solution */ + SYGUS_SOL_OUT_STATUS_AND_DEF, + /** print status if infeasible, or solution if feasible */ + SYGUS_SOL_OUT_STATUS_OR_DEF, + /** print output specified by sygus standard */ + SYGUS_SOL_OUT_STANDARD, +}; + +} /* CVC4 namespace */ + +#endif /* __CVC4__SMT__SYGUS_OUT_MODE_H */ |