Package com.aspose.tasks
Class RiskAnalyzer
- java.lang.Object
-
- com.aspose.tasks.RiskAnalyzer
-
public class RiskAnalyzer extends Object
Performs a Monte Carlo simulation based on the specified risk analysis settings.
-
-
Constructor Summary
Constructors Constructor Description RiskAnalyzer(RiskAnalysisSettings settings)Initializes a new instance of theRiskAnalyzerclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskAnalysisResultanalyze(Project project)Performs risk analysis for the specified project.RiskAnalysisSettingsgetSettings()Gets the instance of theRiskAnalysisSettingsclass which defines necessary settings for risk analysis.voidsetSettings(RiskAnalysisSettings value)Sets the instance of theRiskAnalysisSettingsclass which defines necessary settings for risk analysis.
-
-
-
Constructor Detail
-
RiskAnalyzer
public RiskAnalyzer(RiskAnalysisSettings settings)
Initializes a new instance of the
RiskAnalyzerclass.- Parameters:
settings- the specified instance of theRiskAnalysisSettingsclass.
-
-
Method Detail
-
analyze
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
RiskAnalysisResultclass.- Parameters:
project- the specified instance of theProjectclass to analyze.- Returns:
- the instance of the
RiskAnalysisResultwhich represents a result of the analysis.
-
getSettings
public final RiskAnalysisSettings getSettings()
Gets the instance of the
RiskAnalysisSettingsclass which defines necessary settings for risk analysis.- Returns:
- the instance of the
RiskAnalysisSettingsclass which defines necessary settings for risk analysis.
-
setSettings
public final void setSettings(RiskAnalysisSettings value)
Sets the instance of the
RiskAnalysisSettingsclass which defines necessary settings for risk analysis.- Parameters:
value- the instance of theRiskAnalysisSettingsclass which defines necessary settings for risk analysis.
-
-