1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Alex Ozdemir |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
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. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Implementations of SAT solver type operations which require large std |
14 |
|
* headers. |
15 |
|
*/ |
16 |
|
|
17 |
|
#include "prop/sat_solver_types.h" |
18 |
|
|
19 |
|
#include <algorithm> |
20 |
|
|
21 |
|
namespace cvc5 { |
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 |
29517 |
} // namespace cvc5 |