Public Member Functions | Private Member Functions | Private Attributes
actasp::Clingo3 Struct Reference

#include <Clingo3.h>

Inheritance diagram for actasp::Clingo3:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 Clingo3 (const std::string &incrementalVar, const std::string &queryDir, const std::string &domainDir, const ActionSet &actions, unsigned int max_time=0) throw ()
AnswerSet currentStateQuery (const std::vector< actasp::AspRule > &query) const throw ()
std::list< actasp::AnswerSetgenericQuery (const std::vector< actasp::AspRule > &query, unsigned int timestep, const std::string &fileName, unsigned int answerSetsNumber) const throw ()
std::list< std::list< AspAtom > > genericQuery (const std::string &query, unsigned int timestep, const std::string &fileName, unsigned int answerSetsNumber) const throw ()
std::list< actasp::AnswerSetlengthRangePlanQuery (const std::vector< actasp::AspRule > &goalRules, bool filterActions, unsigned int min_plan_length, unsigned int max_plan_length, unsigned int answerset_number) const throw ()
std::list< actasp::AnswerSetminimalPlanQuery (const std::vector< actasp::AspRule > &goalRules, bool filterActions, unsigned int max_plan_length, unsigned int answerset_number) const throw ()
std::list< actasp::AnswerSetmonitorQuery (const std::vector< actasp::AspRule > &goalRules, const AnswerSet &plan) const throw ()
void setCurrentState (const std::set< actasp::AspFluent > &newState)

Private Member Functions

std::string generatePlanQuery (std::vector< actasp::AspRule > goalRules, bool filterActions) const throw ()
std::list< actasp::AnswerSetgenericQuery (const std::string &query, unsigned int initialTimeStep, unsigned int finalTimeStep, const std::string &fileName, unsigned int answerSetsNumber) const throw ()
std::string makeQuery (const std::string &query, unsigned int initialTimeStep, unsigned int finalTimeStep, const std::string &fileName, unsigned int answerSetsNumber) const throw ()

Private Attributes

std::string actionFilter
std::string domainDir
std::string incrementalVar
unsigned int max_time
std::string queryDir

Detailed Description

Definition at line 9 of file Clingo3.h.


Constructor & Destructor Documentation

actasp::Clingo3::Clingo3 ( const std::string &  incrementalVar,
const std::string &  queryDir,
const std::string &  domainDir,
const ActionSet actions,
unsigned int  max_time = 0 
) throw ()

Definition at line 21 of file Clingo3.cpp.


Member Function Documentation

AnswerSet actasp::Clingo3::currentStateQuery ( const std::vector< actasp::AspRule > &  query) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 235 of file Clingo3.cpp.

string actasp::Clingo3::generatePlanQuery ( std::vector< actasp::AspRule goalRules,
bool  filterActions 
) const throw () [private]

Definition at line 179 of file Clingo3.cpp.

std::list< actasp::AnswerSet > actasp::Clingo3::genericQuery ( const std::vector< actasp::AspRule > &  query,
unsigned int  timestep,
const std::string &  fileName,
unsigned int  answerSetsNumber 
) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 241 of file Clingo3.cpp.

std::list< std::list< AspAtom > > actasp::Clingo3::genericQuery ( const std::string &  query,
unsigned int  timestep,
const std::string &  fileName,
unsigned int  answerSetsNumber 
) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 324 of file Clingo3.cpp.

std::list< actasp::AnswerSet > actasp::Clingo3::genericQuery ( const std::string &  query,
unsigned int  initialTimeStep,
unsigned int  finalTimeStep,
const std::string &  fileName,
unsigned int  answerSetsNumber 
) const throw () [private]

Definition at line 311 of file Clingo3.cpp.

std::list< actasp::AnswerSet > actasp::Clingo3::lengthRangePlanQuery ( const std::vector< actasp::AspRule > &  goalRules,
bool  filterActions,
unsigned int  min_plan_length,
unsigned int  max_plan_length,
unsigned int  answerset_number 
) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 216 of file Clingo3.cpp.

std::string actasp::Clingo3::makeQuery ( const std::string &  query,
unsigned int  initialTimeStep,
unsigned int  finalTimeStep,
const std::string &  fileName,
unsigned int  answerSetsNumber 
) const throw () [private]

Definition at line 274 of file Clingo3.cpp.

std::list< actasp::AnswerSet > actasp::Clingo3::minimalPlanQuery ( const std::vector< actasp::AspRule > &  goalRules,
bool  filterActions,
unsigned int  max_plan_length,
unsigned int  answerset_number 
) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 194 of file Clingo3.cpp.

std::list< actasp::AnswerSet > actasp::Clingo3::monitorQuery ( const std::vector< actasp::AspRule > &  goalRules,
const AnswerSet plan 
) const throw () [virtual]

Implements actasp::QueryGenerator.

Definition at line 249 of file Clingo3.cpp.

void actasp::Clingo3::setCurrentState ( const std::set< actasp::AspFluent > &  newState) [virtual]

Implements actasp::QueryGenerator.

Definition at line 367 of file Clingo3.cpp.


Member Data Documentation

std::string actasp::Clingo3::actionFilter [private]

Definition at line 66 of file Clingo3.h.

std::string actasp::Clingo3::domainDir [private]

Definition at line 69 of file Clingo3.h.

std::string actasp::Clingo3::incrementalVar [private]

Definition at line 65 of file Clingo3.h.

unsigned int actasp::Clingo3::max_time [private]

Definition at line 67 of file Clingo3.h.

std::string actasp::Clingo3::queryDir [private]

Definition at line 68 of file Clingo3.h.


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


bwi_kr_execution
Author(s): Matteo Leonetti, Piyush Khandelwal
autogenerated on Thu Jun 6 2019 17:57:37