EmbASP-Java
Public Member Functions | List of all members
it.unical.mat.embasp.languages.asp.AnswerSet Class Reference

Public Member Functions

 AnswerSet (final List< String > output)
 
 AnswerSet (final List< String > value, final Map< Integer, Integer > weightMap)
 
List< String > getAnswerSet ()
 
List< String > getValue ()
 
Set< Object > getAtoms () throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, InstantiationException
 
Map< Integer, Integer > getLevelWeight ()
 
Map< Integer, Integer > getWeights ()
 
String toString ()
 

Detailed Description

A collection of data representing a generic Answer Set

See also
HashMap
List

Definition at line 18 of file AnswerSet.java.

Member Function Documentation

◆ getAnswerSet()

List<String> it.unical.mat.embasp.languages.asp.AnswerSet.getAnswerSet ( )
inline

Return the current value data

Returns
a list of answer sets in a String format

Definition at line 42 of file AnswerSet.java.

◆ getAtoms()

Set<Object> it.unical.mat.embasp.languages.asp.AnswerSet.getAtoms ( ) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, InstantiationException
inline

Return atoms stored in atoms

Returns
a set of Object filled with atoms data

Definition at line 55 of file AnswerSet.java.

◆ getWeights()

Map<Integer, Integer> it.unical.mat.embasp.languages.asp.AnswerSet.getWeights ( )
inline
Returns
the weight_map

Definition at line 78 of file AnswerSet.java.


The documentation for this class was generated from the following file: