clingo
|
#include <domain.hh>
Public Types | |
using | element_type = Element |
using | element_vec = std::vector< std::reference_wrapper< Element >> |
using | element_iterator = typename element_vec::iterator |
using | const_element_iterator = typename element_vec::const_iterator |
Public Member Functions | |
bool | next () |
void | init () |
void | append (element_type &elem) |
void | clear () |
void | incNext () |
void | showNext () |
unsigned | size () const |
element_iterator | begin () |
element_iterator | end () |
const_element_iterator | begin () const |
const_element_iterator | end () const |
element_type & | operator[] (unsigned x) |
Public Attributes | |
element_vec | exports |
unsigned | offset = 0 |
Up to which offset to include. More... | |
unsigned | generation = 0 |
starting point of the current generation More... | |
unsigned | nextGeneration = 0 |
unsigned | incOffset = 0 |
unsigned | showOffset = 0 |
Used to decouple symbol table generation from grounding. More... | |
using Gringo::Exports< Element >::const_element_iterator = typename element_vec::const_iterator |
using Gringo::Exports< Element >::element_iterator = typename element_vec::iterator |
using Gringo::Exports< Element >::element_type = Element |
using Gringo::Exports< Element >::element_vec = std::vector<std::reference_wrapper<Element>> |
void Gringo::Exports< Element >::append | ( | element_type & | elem | ) |
Exports< Element >::element_iterator Gringo::Exports< Element >::begin | ( | ) |
Exports< Element >::const_element_iterator Gringo::Exports< Element >::begin | ( | ) | const |
void Gringo::Exports< Element >::clear | ( | ) |
Exports< Element >::element_iterator Gringo::Exports< Element >::end | ( | ) |
Exports< Element >::const_element_iterator Gringo::Exports< Element >::end | ( | ) | const |
void Gringo::Exports< Element >::incNext | ( | ) |
void Gringo::Exports< Element >::init | ( | ) |
bool Gringo::Exports< Element >::next | ( | ) |
Exports< Element >::element_type & Gringo::Exports< Element >::operator[] | ( | unsigned | x | ) |
void Gringo::Exports< Element >::showNext | ( | ) |
unsigned Gringo::Exports< Element >::size | ( | ) | const |
element_vec Gringo::Exports< Element >::exports |
unsigned Gringo::Exports< Element >::generation = 0 |
starting point of the current generation
unsigned Gringo::Exports< Element >::incOffset = 0 |
The incOffset divides elements added at the current and previous incremental steps. It is used to only output newly inserted atoms, for projection, and classical negation.
unsigned Gringo::Exports< Element >::nextGeneration = 0 |
starting point of the next generation
unsigned Gringo::Exports< Element >::offset = 0 |
Up to which offset to include.
unsigned Gringo::Exports< Element >::showOffset = 0 |
Used to decouple symbol table generation from grounding.