souffle
2.0.2-371-g6315b36
|
Constant constraints for values in query command. More...
#include <ExplainProvenance.h>
Public Member Functions | |
ConstConstraint ()=default | |
Constructor. More... | |
std::vector< std::pair< std::pair< size_t, size_t >, RamDomain > > & | getConstraints () |
Get the constant constraint vector. More... | |
const std::vector< std::pair< std::pair< size_t, size_t >, RamDomain > > & | getConstraints () const |
void | push_back (std::pair< std::pair< size_t, size_t >, RamDomain > constr) |
Add constant constraint at the end of constConstrs vector. More... | |
bool | verify (const std::vector< tuple > &product) const |
Verify if the query product satisfies constant constraint. More... | |
~ConstConstraint ()=default | |
Destructor. More... | |
Private Attributes | |
std::vector< std::pair< std::pair< size_t, size_t >, RamDomain > > | constConstrs |
Constant constraints for values in query command.
Definition at line 112 of file ExplainProvenance.h.
|
default |
Constructor.
|
default |
Destructor.
|
inline |
Get the constant constraint vector.
Definition at line 133 of file ExplainProvenance.h.
Referenced by souffle::ExplainProvenanceImpl::queryProcess().
|
inline |
Definition at line 137 of file ExplainProvenance.h.
|
inline |
Add constant constraint at the end of constConstrs vector.
Definition at line 121 of file ExplainProvenance.h.
Referenced by souffle::ExplainProvenanceImpl::queryProcess().
|
inline |
Verify if the query product satisfies constant constraint.
Definition at line 126 of file ExplainProvenance.h.
References constConstrs.
|
private |
Definition at line 142 of file ExplainProvenance.h.
Referenced by verify().