Aspose.Tasks for C++
Aspose::Tasks::RiskAnalysis::RiskAnalyzer Class Reference

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

#include <RiskAnalyzer.h>

Inherits System::Object.

Public Member Functions

const System::SharedPtr< RiskAnalysisSettings > & get_Settings () const
 Gets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis. More...
 
void set_Settings (const System::SharedPtr< RiskAnalysisSettings > &value)
 Sets the instance of the RiskAnalysisSettings class which defines necessary settings for risk analysis. More...
 
 RiskAnalyzer (const System::SharedPtr< RiskAnalysisSettings > &settings)
 Initializes a new instance of the RiskAnalyzer class. More...
 
System::SharedPtr< RiskAnalysisResultAnalyze (const System::SharedPtr< 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. More...
 

Detailed Description

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

Constructor & Destructor Documentation

◆ RiskAnalyzer()

Aspose::Tasks::RiskAnalysis::RiskAnalyzer::RiskAnalyzer ( const System::SharedPtr< RiskAnalysisSettings > &  settings)

Initializes a new instance of the RiskAnalyzer class.

Parameters
settingsthe specified instance of the RiskAnalysisSettings class.

Member Function Documentation

◆ Analyze()

System::SharedPtr<RiskAnalysisResult> Aspose::Tasks::RiskAnalysis::RiskAnalyzer::Analyze ( const System::SharedPtr< 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
projectthe specified instance of the Project class to analyze.
Returns
the instance of the RiskAnalysisResult which represents a result of the analysis.

◆ get_Settings()

const System::SharedPtr<RiskAnalysisSettings>& Aspose::Tasks::RiskAnalysis::RiskAnalyzer::get_Settings ( ) const

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

◆ set_Settings()

void Aspose::Tasks::RiskAnalysis::RiskAnalyzer::set_Settings ( const System::SharedPtr< RiskAnalysisSettings > &  value)

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