Equivalence class for variables in query command.  
 More...
#include <ExplainProvenance.h>
Equivalence class for variables in query command. 
Definition at line 45 of file ExplainProvenance.h.
◆ ~Equivalence()
  
  | 
        
          | souffle::Equivalence::~Equivalence | ( |  | ) |  |  | default | 
 
 
◆ Equivalence() [1/2]
  
  | 
        
          | souffle::Equivalence::Equivalence | ( | char | t, |  
          |  |  | std::string | s, |  
          |  |  | std::pair< size_t, size_t > | idx |  
          |  | ) |  |  |  | inline | 
 
Constructor for Equvialence class. 
- Parameters
- 
  
    | t,type | of the variable |  | s,symbol | of the variable |  | idx,first | occurence of the variable |  
 
Definition at line 56 of file ExplainProvenance.h.
References indices.
 
 
◆ Equivalence() [2/2]
  
  | 
        
          | souffle::Equivalence::Equivalence | ( | const Equivalence & | o | ) |  |  | default | 
 
 
◆ getFirstIdx()
  
  | 
        
          | const std::pair<size_t, size_t>& souffle::Equivalence::getFirstIdx | ( |  | ) | const |  | inline | 
 
 
◆ getIndices()
  
  | 
        
          | const std::vector<std::pair<size_t, size_t> >& souffle::Equivalence::getIndices | ( |  | ) | const |  | inline | 
 
 
◆ getSymbol()
  
  | 
        
          | const std::string& souffle::Equivalence::getSymbol | ( |  | ) | const |  | inline | 
 
 
◆ getType()
  
  | 
        
          | char souffle::Equivalence::getType | ( |  | ) | const |  | inline | 
 
Get type of the variable of the equivalence class, 'i' for RamSigned, 's' for symbol 'u' for RamUnsigned, 'f' for RamFloat. 
Definition at line 96 of file ExplainProvenance.h.
 
 
◆ operator=()
Copy assignment operator. 
 
 
◆ push_back()
  
  | 
        
          | void souffle::Equivalence::push_back | ( | std::pair< size_t, size_t > | idx | ) |  |  | inline | 
 
 
◆ verify()
  
  | 
        
          | bool souffle::Equivalence::verify | ( | const std::vector< tuple > & | product | ) | const |  | inline | 
 
Verify if elements at the indices are equivalent in the given product. 
Definition at line 72 of file ExplainProvenance.h.
 
 
◆ indices
  
  | 
        
          | std::vector<std::pair<size_t, size_t> > souffle::Equivalence::indices |  | private | 
 
 
◆ symbol
  
  | 
        
          | std::string souffle::Equivalence::symbol |  | private | 
 
 
◆ type
  
  | 
        
          | char souffle::Equivalence::type |  | private | 
 
 
The documentation for this class was generated from the following file: