diff options
author | ajreynol <andrew.j.reynolds@gmail.com> | 2016-10-26 16:23:58 -0500 |
---|---|---|
committer | ajreynol <andrew.j.reynolds@gmail.com> | 2016-10-26 16:23:58 -0500 |
commit | 031722bee8682005bd4c8700ef78b5f893fc48fe (patch) | |
tree | 46a936a1bd20ea2cc588df0d3205cf7eb0fd4177 /src/theory/sets/expr_patterns.h | |
parent | e79e64329ce7d6df0003cab28dadb9b8bcc6f9ca (diff) |
New implementation of sets+cardinality. Merge Paul Meng's relation solver as extension of sets solver, add regressions.
Diffstat (limited to 'src/theory/sets/expr_patterns.h')
-rw-r--r-- | src/theory/sets/expr_patterns.h | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/src/theory/sets/expr_patterns.h b/src/theory/sets/expr_patterns.h deleted file mode 100644 index 32e77d8b8..000000000 --- a/src/theory/sets/expr_patterns.h +++ /dev/null @@ -1,63 +0,0 @@ -/********************* */ -/*! \file expr_patterns.h - ** \verbatim - ** Top contributors (to current version): - ** Kshitij Bansal, Tim King - ** This file is part of the CVC4 project. - ** Copyright (c) 2009-2016 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 Expr patterns. - ** - ** Expr patterns. - **/ - -#include "cvc4_private.h" - -#pragma once - -#include "expr/node.h" - -namespace CVC4 { -namespace expr { -namespace pattern { - -/** Boolean operators */ -static Node AND(TNode a, TNode b) { - return NodeManager::currentNM()->mkNode(kind::AND, a, b); -} - -static Node OR(TNode a, TNode b) { - return NodeManager::currentNM()->mkNode(kind::OR, a, b); -} - -static Node OR(TNode a, TNode b, TNode c) { - return NodeManager::currentNM()->mkNode(kind::OR, a, b, c); -} - -static Node NOT(TNode a) { - return NodeManager::currentNM()->mkNode(kind::NOT, a); -} - -/** Theory operators */ -static Node MEMBER(TNode a, TNode b) { - return NodeManager::currentNM()->mkNode(kind::MEMBER, a, b); -} - -static Node SINGLETON(TNode a) { - return NodeManager::currentNM()->mkNode(kind::SINGLETON, a); -} - -static Node EQUAL(TNode a, TNode b) { - return NodeManager::currentNM()->mkNode(kind::EQUAL, a, b); -} - -static Node CARD(TNode a) { - return NodeManager::currentNM()->mkNode(kind::CARD, a); -} - -}/* CVC4::expr::pattern namespace */ -}/* CVC4::expr namespace */ -}/* CVC4 namespace */ |