Class ConcurrentExactAnalysis
java.lang.Object
org.tweetyproject.arg.bipolar.analysis.AbstractAnalysis
org.tweetyproject.arg.bipolar.analysis.ConcurrentExactAnalysis
- All Implemented Interfaces:
Analysis
,ProbabilisticJustificationAnalysis
public class ConcurrentExactAnalysis
extends AbstractAnalysis
implements ProbabilisticJustificationAnalysis
This class implements exact probabilistic justification of a set of queries by generating all possible
induces EAFs from a PEAF in parallel.
- Author:
- Taha Dogan Gunes
-
Field Summary
-
Constructor Summary
ConstructorDescriptionConcurrentExactAnalysis
(PEAFTheory peafTheory, AbstractExtensionReasoner extensionReasoner) Constructs ConcurrentExactAnalysis with noThreads equal to availableProcessors - 1ConcurrentExactAnalysis
(PEAFTheory peafTheory, AbstractExtensionReasoner extensionReasoner, int noThreads) Constructs ConcurrentExactAnalysis with given noThreads -
Method Summary
Modifier and TypeMethodDescriptionComputes exactly what is probabilistic justification of the given set of arguments in the PEAF.Methods inherited from class org.tweetyproject.arg.bipolar.analysis.AbstractAnalysis
setPEAFTheory
-
Field Details
-
total
Total -
p
P
-
-
Constructor Details
-
ConcurrentExactAnalysis
Constructs ConcurrentExactAnalysis with noThreads equal to availableProcessors - 1- Parameters:
peafTheory
- the PEAFTheory to be analyzedextensionReasoner
- the extension reasoner
-
ConcurrentExactAnalysis
public ConcurrentExactAnalysis(PEAFTheory peafTheory, AbstractExtensionReasoner extensionReasoner, int noThreads) Constructs ConcurrentExactAnalysis with given noThreads- Parameters:
peafTheory
- the PEAFTheory to be analyzedextensionReasoner
- the extension reasonernoThreads
- the number of threads
-
-
Method Details
-
query
Computes exactly what is probabilistic justification of the given set of arguments in the PEAF.Warning: It is intractable when the number of arguments in PEAF is above 15.
-