EmbASP-Narrative v7.1.0
|
Public Member Functions | |
DatalogInputProgram () | |
DatalogInputProgram (final Object inputObj) throws Exception | |
DatalogInputProgram (final String initialProgram) | |
void | addObjectInput (final Object inputObj) throws Exception |
void | addObjectsInput (final Set< Object > inputObjects) throws Exception |
Public Member Functions inherited from it.unical.mat.embasp.base.InputProgram | |
InputProgram () | |
InputProgram (final Object inputObj) throws Exception | |
InputProgram (final String initial_program) | |
void | addFilesPath (final String file_path) |
void | addProgram (final String new_instruction) |
void | clearAll () |
void | clearFilesPaths () |
void | clearPrograms () |
List< String > | getFilesPaths () |
String | getPrograms () |
String | getSeparator () |
String | getStringOfFilesPaths () |
void | setPrograms (final String programs) |
void | setSeparator (final String separator) |
Additional Inherited Members | |
Protected Attributes inherited from it.unical.mat.embasp.base.InputProgram | |
String | programs |
String | separator |
This class models a generic Datalog input program. It provides the user with the possibility to add a fact to the program in the form of an annotated object.
|
inline |
|
inline |
|
inline |
|
inline |
Transforms a properly-annotated object into a program string (a fact) and appends it to programs
inputObj | the object to be transformed |
IllegalAccessException,IllegalArgumentException,InvocationTargetException,NoSuchMethodException,SecurityException,IllegalTermException,ObjectNotValidException |
Reimplemented from it.unical.mat.embasp.base.InputProgram.
|
inline |
Transforms a set of objects
Reimplemented from it.unical.mat.embasp.base.InputProgram.