EmbASP-Java v7.1.0
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

Constructor & Destructor Documentation

◆ AnswerSet() [1/2]

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

◆ AnswerSet() [2/2]

it.unical.mat.embasp.languages.asp.AnswerSet.AnswerSet ( final List< String >  value,
final Map< Integer, Integer >  weightMap 
)
inline

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

◆ 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

◆ getLevelWeight()

Map<Integer, Integer> it.unical.mat.embasp.languages.asp.AnswerSet.getLevelWeight ( )
inline

◆ getValue()

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

◆ getWeights()

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

◆ toString()

String it.unical.mat.embasp.languages.asp.AnswerSet.toString ( )
inline

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