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 theRiskAnalyzer
class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RiskAnalysisResult
analyze(Project project)
Performs risk analysis for the specified project.RiskAnalysisSettings
getSettings()
Gets the instance of theRiskAnalysisSettings
class which defines necessary settings for risk analysis.void
setSettings(RiskAnalysisSettings value)
Sets the instance of theRiskAnalysisSettings
class which defines necessary settings for risk analysis.
-
-
-
Constructor Detail
-
RiskAnalyzer
public RiskAnalyzer(RiskAnalysisSettings settings)
Initializes a new instance of the
RiskAnalyzer
class.- Parameters:
settings
- the specified instance of theRiskAnalysisSettings
class.
-
-
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
RiskAnalysisResult
class.- Parameters:
project
- the specified instance of theProject
class to analyze.- Returns:
- 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:
- the instance of the
RiskAnalysisSettings
class which defines necessary settings for risk analysis.
-
setSettings
public final void setSettings(RiskAnalysisSettings value)
Sets the instance of the
RiskAnalysisSettings
class which defines necessary settings for risk analysis.- Parameters:
value
- the instance of theRiskAnalysisSettings
class which defines necessary settings for risk analysis.
-
-