Class ApproxAnalysis

java.lang.Object
org.tweetyproject.arg.bipolar.analysis.AbstractAnalysis
org.tweetyproject.arg.bipolar.analysis.ApproxAnalysis
All Implemented Interfaces:
Analysis, ProbabilisticJustificationAnalysis

public class ApproxAnalysis extends AbstractAnalysis implements ProbabilisticJustificationAnalysis
This class implements approximate probabilistic justification of a set of queries using Monte Carlo Sampling of induced EAFs from a PEAF. see Li, Hengfei. Probabilistic argumentation. 2015. PhD Thesis. Aberdeen University.
Author:
Taha Dogan Gunes
  • Constructor Details

    • ApproxAnalysis

      public ApproxAnalysis(PEAFTheory peafTheory, AbstractExtensionReasoner extensionReasoner, double errorLevel)
      Creates an ApproxAnalysis object
      Parameters:
      peafTheory - The PEAFTheory object
      extensionReasoner - An extension reasoner object
      errorLevel - the error level in double
  • Method Details

    • query

      public AnalysisResult query(Set<BArgument> args)
      Computes approximately what is probabilistic justification of the given set of arguments in the PEAF given error level
      Specified by:
      query in interface Analysis
      Parameters:
      args - the set of arguments necessary for the query
      Returns:
      the result of the analysis