dlvhex
2.5.0
|
#include "dlvhex2/State.h"
#include "dlvhex2/ProgramCtx.h"
#include "dlvhex2/Error.h"
#include "dlvhex2/Printhelpers.h"
#include "dlvhex2/Benchmarking.h"
#include "dlvhex2/ASPSolverManager.h"
#include "dlvhex2/ASPSolver.h"
#include "dlvhex2/HexParser.h"
#include "dlvhex2/Printer.h"
#include "dlvhex2/Registry.h"
#include "dlvhex2/PluginContainer.h"
#include "dlvhex2/LiberalSafetyChecker.h"
#include "dlvhex2/DependencyGraph.h"
#include "dlvhex2/ComponentGraph.h"
#include "dlvhex2/FinalEvalGraph.h"
#include "dlvhex2/EvalGraphBuilder.h"
#include "dlvhex2/DumpingEvalGraphBuilder.h"
#include "dlvhex2/AnswerSetPrinterCallback.h"
#include "dlvhex2/PlainAuxPrinter.h"
#include "dlvhex2/SafetyChecker.h"
#include "dlvhex2/MLPSyntaxChecker.h"
#include "dlvhex2/MLPSolver.h"
#include <boost/foreach.hpp>
#include <iostream>
#include <sstream>
#include <fstream>
#include <vector>
Go to the source code of this file.
#define MANDATORY_STATE_CONSTRUCTOR | ( | state | ) | state :: state (): State() {} |
#define OPTIONAL_STATE_CONSTRUCTOR | ( | state, | |
skiptostate | |||
) | state :: state (): State(StatePtr(new skiptostate)) {} |
#define STATE_FUNC_DEFAULT_IMPL | ( | function | ) |
void State:: function (ProgramCtx* ctx) \ { \ if( !!failureState ) \ { \ changeState(ctx, failureState); /* <-- this destructs *this */ \ ctx->state-> function (ctx); \ } \ else \ { \ throw std::runtime_error("tried to skip execution of '" \ #function "' in State!"); \ } \ }
STATE_FUNC_DEFAULT_IMPL | ( | showPlugins | ) |
STATE_FUNC_DEFAULT_IMPL | ( | convert | ) |
STATE_FUNC_DEFAULT_IMPL | ( | parse | ) |
STATE_FUNC_DEFAULT_IMPL | ( | moduleSyntaxCheck | ) |
STATE_FUNC_DEFAULT_IMPL | ( | mlpSolver | ) |
STATE_FUNC_DEFAULT_IMPL | ( | rewriteEDBIDB | ) |
STATE_FUNC_DEFAULT_IMPL | ( | safetyCheck | ) |
STATE_FUNC_DEFAULT_IMPL | ( | checkLiberalSafety | ) |
STATE_FUNC_DEFAULT_IMPL | ( | createDependencyGraph | ) |
STATE_FUNC_DEFAULT_IMPL | ( | optimizeEDBDependencyGraph | ) |
STATE_FUNC_DEFAULT_IMPL | ( | createComponentGraph | ) |
STATE_FUNC_DEFAULT_IMPL | ( | strongSafetyCheck | ) |
STATE_FUNC_DEFAULT_IMPL | ( | createEvalGraph | ) |
STATE_FUNC_DEFAULT_IMPL | ( | setupProgramCtx | ) |
STATE_FUNC_DEFAULT_IMPL | ( | evaluate | ) |
STATE_FUNC_DEFAULT_IMPL | ( | postProcess | ) |