summaryrefslogtreecommitdiff
path: root/src/theory/arith
diff options
context:
space:
mode:
authorajreynol <andrew.j.reynolds@gmail.com>2016-01-15 23:57:56 +0100
committerajreynol <andrew.j.reynolds@gmail.com>2016-01-15 23:57:56 +0100
commit9d677333439c15677b6891ee8f6bd368a5df9f0a (patch)
tree07768d701e98e3ec39b4a37fa40681e61658eb97 /src/theory/arith
parent081351e87edeb52facba0d0abc2e933433480444 (diff)
Type enumerators take optional argument indicating fixed cardinalities of uninterpreted sorts. Modify TheoryModelBuilder. Fix bug in fmf-empty-sorts.
Diffstat (limited to 'src/theory/arith')
-rw-r--r--src/theory/arith/type_enumerator.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/theory/arith/type_enumerator.h b/src/theory/arith/type_enumerator.h
index c4501fc43..dc2b6f115 100644
--- a/src/theory/arith/type_enumerator.h
+++ b/src/theory/arith/type_enumerator.h
@@ -3,7 +3,7 @@
** \verbatim
** Original author: Morgan Deters
** Major contributors: none
- ** Minor contributors (to current version): none
+ ** Minor contributors (to current version): Andrew Reynolds
** This file is part of the CVC4 project.
** Copyright (c) 2009-2014 New York University and The University of Iowa
** See the file COPYING in the top-level source directory for licensing
@@ -34,7 +34,7 @@ class RationalEnumerator : public TypeEnumeratorBase<RationalEnumerator> {
public:
- RationalEnumerator(TypeNode type) throw(AssertionException) :
+ RationalEnumerator(TypeNode type, TypeEnumeratorProperties * tep = NULL) throw(AssertionException) :
TypeEnumeratorBase<RationalEnumerator>(type),
d_rat(0) {
Assert(type.getKind() == kind::TYPE_CONSTANT &&
@@ -81,7 +81,7 @@ class IntegerEnumerator : public TypeEnumeratorBase<IntegerEnumerator> {
public:
- IntegerEnumerator(TypeNode type) throw(AssertionException) :
+ IntegerEnumerator(TypeNode type, TypeEnumeratorProperties * tep = NULL) throw(AssertionException) :
TypeEnumeratorBase<IntegerEnumerator>(type),
d_int(0) {
Assert(type.getKind() == kind::TYPE_CONSTANT &&
@@ -115,7 +115,7 @@ class SubrangeEnumerator : public TypeEnumeratorBase<SubrangeEnumerator> {
public:
- SubrangeEnumerator(TypeNode type) throw(AssertionException) :
+ SubrangeEnumerator(TypeNode type, TypeEnumeratorProperties * tep = NULL) throw(AssertionException) :
TypeEnumeratorBase<SubrangeEnumerator>(type),
d_int(0),
d_bounds(type.getConst<SubrangeBounds>()),
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback