ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
factor.hpp
Go to the documentation of this file.
1#ifndef _factor_hpp_INCLUDED
2#define _factor_hpp_INCLUDED
3
4#include "global.h"
5
6#include "clause.hpp"
7#include "heap.hpp"
8
10
11namespace CaDiCaL {
12
13struct Internal;
14
18 bool operator() (unsigned a, unsigned b);
19};
20
21struct Quotient {
22 Quotient (int f) : factor (f) {}
24 int factor;
25 size_t id;
26 int64_t bid; // for LRAT
30 size_t matched;
31};
32
34
55
56} // namespace CaDiCaL
57
59
60#endif
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
heap< factor_occs_size > FactorSchedule
Definition factor.hpp:33
FactorSchedule schedule
Definition factor.hpp:42
Quotient * first
Definition factor.hpp:52
vector< int > nounted
Definition factor.hpp:49
Quotient * last
Definition factor.hpp:52
vector< unsigned > count
Definition factor.hpp:46
struct CaDiCaL::Factoring::@045300102074365064333035263007161374160235131045 quotients
vector< int > fresh
Definition factor.hpp:47
vector< int > counted
Definition factor.hpp:48
Internal * internal
Definition factor.hpp:40
Factoring(Internal *, int64_t)
vector< Clause * > flauses
Definition factor.hpp:50
Quotient * next
Definition factor.hpp:27
Quotient * prev
Definition factor.hpp:27
vector< Clause * > qlauses
Definition factor.hpp:28
vector< size_t > matches
Definition factor.hpp:29
bool operator()(unsigned a, unsigned b)
factor_occs_size(Internal *i)
Definition factor.hpp:17