GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/prop/sat_solver_types.cpp Lines: 1 3 33.3 %
Date: 2021-03-23 Branches: 2 4 50.0 %

Line Exec Source
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-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 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
26685
}  // namespace CVC4