clingo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Public Types | Public Member Functions | Public Attributes | List of all members
Gringo::Ground::Instantiator Struct Reference

#include <instantiation.hh>

Collaboration diagram for Gringo::Ground::Instantiator:
Collaboration graph

Public Types

typedef BackjumpBinder::DependVec DependVec
 
typedef BackjumpBinder::SValVec SValVec
 

Public Member Functions

 Instantiator (SolutionCallback &callback)
 
 Instantiator (Instantiator &&x) noexcept
 
void add (UIdx &&index, DependVec &&depends)
 
void finalize (DependVec &&depends)
 
void enqueue (Queue &queue)
 
void instantiate (Output::OutputBase &out)
 
void print (std::ostream &out) const
 
 ~Instantiator ()
 

Public Attributes

SolutionCallbackcallback
 
std::vector< BackjumpBinderbinders
 
bool enqueued = false
 

Member Typedef Documentation

Constructor & Destructor Documentation

Gringo::Ground::Instantiator::Instantiator ( SolutionCallback callback)
Gringo::Ground::Instantiator::Instantiator ( Instantiator &&  x)
defaultnoexcept
Gringo::Ground::Instantiator::~Instantiator ( )

Member Function Documentation

void Gringo::Ground::Instantiator::add ( UIdx &&  index,
DependVec &&  depends 
)
void Gringo::Ground::Instantiator::enqueue ( Queue queue)

Here is the call graph for this function:

void Gringo::Ground::Instantiator::finalize ( DependVec &&  depends)
void Gringo::Ground::Instantiator::instantiate ( Output::OutputBase out)

Here is the call graph for this function:

void Gringo::Ground::Instantiator::print ( std::ostream &  out) const

Here is the call graph for this function:

Member Data Documentation

std::vector<BackjumpBinder> Gringo::Ground::Instantiator::binders
SolutionCallback& Gringo::Ground::Instantiator::callback
bool Gringo::Ground::Instantiator::enqueued = false

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