GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/theory/arith/arith_state.h Lines: 1 1 100.0 %
Date: 2021-03-22 Branches: 0 0 0.0 %

Line Exec Source
1
/*********************                                                        */
2
/*! \file arith_state.h
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Andrew Reynolds
6
 ** This file is part of the CVC4 project.
7
 ** Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
8
 ** in the top-level source directory and their institutional affiliations.
9
 ** All rights reserved.  See the file COPYING in the top-level source
10
 ** directory for licensing information.\endverbatim
11
 **
12
 ** \brief Arithmetic theory state.
13
 **/
14
15
#include "cvc4_private.h"
16
17
#ifndef CVC4__THEORY__ARITH__ARITH_STATE_H
18
#define CVC4__THEORY__ARITH__ARITH_STATE_H
19
20
#include "theory/theory_state.h"
21
22
namespace CVC4 {
23
namespace theory {
24
namespace arith {
25
26
class TheoryArithPrivate;
27
28
/**
29
 * The arithmetic state.
30
 *
31
 * Note this object is intended to use TheoryArithPrivate
32
 * as a black box, and moreover the internals of TheoryArithPrivate will not
33
 * be refactored to use this state. Instead, the main theory solver TheoryArith
34
 * will be refactored to be a standard layer on top of TheoryArithPrivate,
35
 * which will include using this state in the standard way.
36
 */
37
class ArithState : public TheoryState
38
{
39
 public:
40
  ArithState(TheoryArithPrivate& parent,
41
             context::Context* c,
42
             context::UserContext* u,
43
             Valuation val);
44
8992
  ~ArithState() {}
45
  /** Are we currently in conflict? */
46
  bool isInConflict() const override;
47
48
 private:
49
  /** reference to parent */
50
  TheoryArithPrivate& d_parent;
51
};
52
53
}  // namespace arith
54
}  // namespace theory
55
}  // namespace CVC4
56
57
#endif