RiskAnalyzer
Inheritance: java.lang.Object
public class RiskAnalyzer
Performs a Monte Carlo simulation based on the specified risk analysis settings.
Constructors
Constructor | Description |
---|---|
RiskAnalyzer(RiskAnalysisSettings settings) | Initializes a new instance of the RiskAnalyzer class. |
Methods
Method | Description |
---|---|
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:
Parameter | Type | Description |
---|---|---|
settings | RiskAnalysisSettings | the 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:
Parameter | Type | Description |
---|---|---|
project | Project | the 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:
Parameter | Type | Description |
---|---|---|
value | RiskAnalysisSettings | the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis. |