(proof-new) Updates to SMT proof manager and SmtEngine (#5446)
[cvc5.git] / src / prop / sat_solver_types.cpp
1 /********************* */
2 /*! \file sat_solver_types.cpp
3 ** \verbatim
4 ** Top contributors (to current version):
5 ** Alex Ozdemir
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 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 Implementations of SAT solver type operations which require large
13 ** std headers.
14 **
15 **/
16
17 #include "prop/sat_solver_types.h"
18
19 #include <algorithm>
20
21 namespace CVC4 {
22 namespace prop {
23 bool SatClauseLessThan::operator()(const SatClause& l, const SatClause& r) const
24 {
25 return std::lexicographical_compare(l.begin(), l.end(), r.begin(), r.end());
26 }
27 } // namespace prop
28 } // namespace CVC4