RiskAnalyzer

Inheritance: java.lang.Object

public class RiskAnalyzer

Performs a Monte Carlo simulation based on the specified risk analysis settings.

Constructors

ConstructorDescription
RiskAnalyzer(RiskAnalysisSettings settings)Initializes a new instance of the RiskAnalyzer class.

Methods

MethodDescription
analyze(Project project)Performs risk analysis for the specified project.
getSettings()Gets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.
setSettings(RiskAnalysisSettings value)Sets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.

RiskAnalyzer(RiskAnalysisSettings settings)

public RiskAnalyzer(RiskAnalysisSettings settings)

Initializes a new instance of the RiskAnalyzer class.

Parameters:

ParameterTypeDescription
settingsRiskAnalysisSettingsthe specified instance of the RiskAnalysisSettings class.

analyze(Project project)

public final RiskAnalysisResult analyze(Project project)

Performs risk analysis for the specified project. The analysis is based on Monte Carlo simulation and the result is an instance of the RiskAnalysisResult class.

Parameters:

ParameterTypeDescription
projectProjectthe specified instance of the Project class to analyze.

Returns: RiskAnalysisResult - the instance of the RiskAnalysisResult which represents a result of the analysis.

getSettings()

public final RiskAnalysisSettings getSettings()

Gets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.

Returns: RiskAnalysisSettings - the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.

setSettings(RiskAnalysisSettings value)

public final void setSettings(RiskAnalysisSettings value)

Sets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.

Parameters:

ParameterTypeDescription
valueRiskAnalysisSettingsthe instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis.