ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
CaDiCaL::Hash Struct Reference

#include <congruence.hpp>

Public Member Functions

 Hash (std::array< int, 16 > &ncs)
 
size_t operator() (const Gate *const g) const
 

Public Attributes

std::array< int, 16 > & nonces
 

Detailed Description

Definition at line 281 of file congruence.hpp.

Constructor & Destructor Documentation

◆ Hash()

CaDiCaL::Hash::Hash ( std::array< int, 16 > & ncs)
inline

Definition at line 282 of file congruence.hpp.

282: nonces (ncs) {}
std::array< int, 16 > & nonces

Member Function Documentation

◆ operator()()

size_t CaDiCaL::Hash::operator() ( const Gate *const g) const

Definition at line 122 of file cadical_congruence.cpp.

122 {
123 CADICAL_assert (hash_lits (nonces, g->rhs) == g->hash);
124 return g->hash;
125}
#define CADICAL_assert(ignore)
Definition global.h:14

Member Data Documentation

◆ nonces

std::array<int, 16>& CaDiCaL::Hash::nonces

Definition at line 283 of file congruence.hpp.


The documentation for this struct was generated from the following files: