Aspose.Tasks for C++
|
Represents a risk pattern for a project task. More...
#include <RiskPattern.h>
Inherits Object.
Public Member Functions | |
System::SharedPtr < Aspose::Tasks::Task > | get_Task () const |
Gets a project task to which this risk pattern is applied. More... | |
ProbabilityDistributionType | get_Distribution () const |
Gets the probability distribution used in Monte Carlo simulation. The default value is ProbabilityDistributionType.Normal. More... | |
void | set_Distribution (ProbabilityDistributionType value) |
Sets the probability distribution used in Monte Carlo simulation. The default value is ProbabilityDistributionType.Normal. More... | |
Aspose::Tasks::RiskAnalysis::ConfidenceLevel | get_ConfidenceLevel () const |
Gets the confidence level that correspond to the percentage of the time the actual generated values will be within optimistic and pessimistic estimates. The default value is CL99. More... | |
void | set_ConfidenceLevel (Aspose::Tasks::RiskAnalysis::ConfidenceLevel value) |
Sets the confidence level that correspond to the percentage of the time the actual generated values will be within optimistic and pessimistic estimates. The default value is CL99. More... | |
int32_t | get_Optimistic () const |
Gets the percentage of the most likely task duration which can happen in the best possible project scenario. The default value is 75, which means that if the estimated specified task duration is 4 days then the optimistic duration will be 3 days. More... | |
void | set_Optimistic (int32_t value) |
Sets the percentage of the most likely task duration which can happen in the best possible project scenario. The default value is 75, which means that if the estimated specified task duration is 4 days then the optimistic duration will be 3 days. More... | |
int32_t | get_Pessimistic () const |
Gets the percentage of the most likely task duration which can happen in the worst possible project scenario. The default value is 125, which means that if the estimated specified task duration is 4 days then the pessimistic duration will be 5 days. More... | |
void | set_Pessimistic (int32_t value) |
Sets the percentage of the most likely task duration which can happen in the worst possible project scenario. The default value is 125, which means that if the estimated specified task duration is 4 days then the pessimistic duration will be 5 days. More... | |
RiskPattern (const System::SharedPtr< Aspose::Tasks::Task > &task) | |
Initializes a new instance of the RiskPattern class. More... | |
Represents a risk pattern for a project task.
Aspose::Tasks::RiskAnalysis::RiskPattern::RiskPattern | ( | const System::SharedPtr< Aspose::Tasks::Task > & | task | ) |
Initializes a new instance of the RiskPattern class.
task | the specified project task for which this risk will be applied in Monte Carlo simulation. |
Aspose::Tasks::RiskAnalysis::ConfidenceLevel Aspose::Tasks::RiskAnalysis::RiskPattern::get_ConfidenceLevel | ( | ) | const |
Gets the confidence level that correspond to the percentage of the time the actual generated values will be within optimistic and pessimistic estimates. The default value is CL99.
Can be one of the values defined in the ConfidenceLevel enumeration.
ProbabilityDistributionType Aspose::Tasks::RiskAnalysis::RiskPattern::get_Distribution | ( | ) | const |
Gets the probability distribution used in Monte Carlo simulation. The default value is ProbabilityDistributionType.Normal.
Can be one of the values defined in the ProbabilityDistributionType enumeration.
int32_t Aspose::Tasks::RiskAnalysis::RiskPattern::get_Optimistic | ( | ) | const |
Gets the percentage of the most likely task duration which can happen in the best possible project scenario. The default value is 75, which means that if the estimated specified task duration is 4 days then the optimistic duration will be 3 days.
int32_t Aspose::Tasks::RiskAnalysis::RiskPattern::get_Pessimistic | ( | ) | const |
Gets the percentage of the most likely task duration which can happen in the worst possible project scenario. The default value is 125, which means that if the estimated specified task duration is 4 days then the pessimistic duration will be 5 days.
System::SharedPtr<Aspose::Tasks::Task> Aspose::Tasks::RiskAnalysis::RiskPattern::get_Task | ( | ) | const |
Gets a project task to which this risk pattern is applied.
void Aspose::Tasks::RiskAnalysis::RiskPattern::set_ConfidenceLevel | ( | Aspose::Tasks::RiskAnalysis::ConfidenceLevel | value | ) |
Sets the confidence level that correspond to the percentage of the time the actual generated values will be within optimistic and pessimistic estimates. The default value is CL99.
Can be one of the values defined in the ConfidenceLevel enumeration.
void Aspose::Tasks::RiskAnalysis::RiskPattern::set_Distribution | ( | ProbabilityDistributionType | value | ) |
Sets the probability distribution used in Monte Carlo simulation. The default value is ProbabilityDistributionType.Normal.
Can be one of the values defined in the ProbabilityDistributionType enumeration.
void Aspose::Tasks::RiskAnalysis::RiskPattern::set_Optimistic | ( | int32_t | value | ) |
Sets the percentage of the most likely task duration which can happen in the best possible project scenario. The default value is 75, which means that if the estimated specified task duration is 4 days then the optimistic duration will be 3 days.
void Aspose::Tasks::RiskAnalysis::RiskPattern::set_Pessimistic | ( | int32_t | value | ) |
Sets the percentage of the most likely task duration which can happen in the worst possible project scenario. The default value is 125, which means that if the estimated specified task duration is 4 days then the pessimistic duration will be 5 days.