Class AnalysisResult
java.lang.Object
org.tweetyproject.arg.bipolar.analysis.AnalysisResult
Represents the result of an analysis, including performance metrics and analysis type.
This class encapsulates details about the analysis result such as the result value, number of iterations, analysis type, and total probability. It provides methods to retrieve these values and to print the results for debugging purposes.
- Author:
- Taha Dogan Gunes
-
Constructor Summary
ConstructorDescriptionAnalysisResult
(double result, long noIterations, AnalysisType type, double totalProbability) Constructs anAnalysisResult
with the specified parameters. -
Method Summary
Modifier and TypeMethodDescriptionlong
Returns the number of iterations performed during the analysis.double
Returns the result of the analysis.double
Returns the total probability calculated during the analysis.getType()
Returns the type of analysis conducted.void
print()
Prints the details of the analysis result to the standard output.
-
Constructor Details
-
AnalysisResult
Constructs anAnalysisResult
with the specified parameters.- Parameters:
result
- the result of the analysisnoIterations
- the number of iterations performedtype
- the type of analysis conductedtotalProbability
- the total probability calculated
-
-
Method Details
-
getResult
public double getResult()Returns the result of the analysis.- Returns:
- the result value
-
getNoIterations
public long getNoIterations()Returns the number of iterations performed during the analysis.- Returns:
- the number of iterations
-
getType
-
getTotalProbability
public double getTotalProbability()Returns the total probability calculated during the analysis.- Returns:
- the total probability
-
print
public void print()Prints the details of the analysis result to the standard output.The output includes the type of analysis, result value, number of iterations, and total probability.
-