org.semwebcentral.sweetrules.infrastructure
Class SweetQueryResult

java.lang.Object
  extended byorg.semwebcentral.sweetrules.infrastructure.AbstractSweetQueryResult
      extended byorg.semwebcentral.sweetrules.infrastructure.SweetQueryResult
All Implemented Interfaces:
ISweetQueryResult

public class SweetQueryResult
extends AbstractSweetQueryResult

A simple implementation of ISweetQueryResult

Author:
Shashidhara K Ganjugunte, Dr. Benjamin Grosof, Dr. Said Tabet, Chitravanu Neogy

Field Summary
 
Fields inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetQueryResult
allAnswers, allAtoms, logger, trueOrUndefinedAnswers, trueOrUndefinedAtoms, undefinedAnswers
 
Constructor Summary
SweetQueryResult(java.lang.String[] allAnswers, java.lang.String[] allAtoms, java.lang.String[] trueOrUndefinedAnswers, java.lang.String[] trueOrUndefinedAtoms, java.lang.String[] undefinedAnswers)
          Constructor for the query result
 
Methods inherited from class org.semwebcentral.sweetrules.infrastructure.AbstractSweetQueryResult
equals, getAllAnswers, getAllAtomsOrCslits, getTrueOrUndefinedAnswers, getTrueOrUndefinedAtomsOrCslits, getUndefinedAnswers, print
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SweetQueryResult

public SweetQueryResult(java.lang.String[] allAnswers,
                        java.lang.String[] allAtoms,
                        java.lang.String[] trueOrUndefinedAnswers,
                        java.lang.String[] trueOrUndefinedAtoms,
                        java.lang.String[] undefinedAnswers)
Constructor for the query result

Parameters:
allAnswers - Entailed bindings
allAtoms - Entailed conclusions (after substitution)
trueOrUndefinedAnswers - All Bindings (including undefined)
trueOrUndefinedAtoms - All conclusions including undefined (after substitution)
undefinedAnswers - The answer list for which conclusions are undefined