8 #include <system/object.h>
11 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
18 namespace RiskAnalysis
20 template <
typename>
class Percentile;
23 class RiskReportBuilder;
25 class RiskItemStatisticsCollection;
26 enum class RiskItemType;
27 class RiskValueCollection;
28 class SampleCollector;
43 namespace RiskAnalysis {
51 typedef System::Object BaseType;
53 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
54 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
57 friend class Aspose::Tasks::RiskAnalysis::Reporting::RiskReportBuilder;
58 friend class SampleCollector;
88 ASPOSE_TASKS_SHARED_API System::DateTime
GetPercentile(int32_t percent);
94 ASPOSE_TASKS_SHARED_API System::String
ToString()
const override;
98 ASPOSE_TASKS_SHARED_API System::SharedPtr<RiskValueCollection> get_Values()
const;
100 ASPOSE_TASKS_SHARED_API
RiskItemStatistics(
const System::SharedPtr<Task>& task, RiskItemType itemType,
const System::SharedPtr<RiskItemStatisticsCollection>& parentStatisticsCollection);
102 ASPOSE_TASKS_SHARED_API MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION(
RiskItemStatistics, CODEPORTING_ARGS(
const System::SharedPtr<Task>& task, RiskItemType itemType,
const System::SharedPtr<RiskItemStatisticsCollection>& parentStatisticsCollection));
104 ASPOSE_TASKS_SHARED_API
void AddSample(System::DateTime value);
105 #ifdef ASPOSE_GET_SHARED_MEMBERS
106 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
112 RiskItemType itemType;
113 System::SharedPtr<Task> task;
114 System::SharedPtr<RiskValueCollection> riskValues;
115 System::SharedPtr<Percentile<System::DateTime>> percentile;
Represents duration in a project.
Definition: Duration.h:161
Represents a collection containing the instances of the RiskItemStatistics class.
Definition: RiskItemStatisticsCollection.h:50
Represents an item which stores statistical data for the task of the analyzed project.
Definition: RiskItemStatistics.h:49
Duration get_StandardDeviation() const
Gets the standard deviation of the risk item.
System::DateTime get_Maximum() const
Gets the maximum value which was generated during Monte Carlo simulation.
System::DateTime get_ExpectedValue() const
Gets the expected value of the risk item.
System::DateTime get_Minimum() const
Gets the minimum value which was generated during Monte Carlo simulation.
System::DateTime GetPercentile(int32_t percent)
Gets a value below which a specified percentage of generated samples fall.
RiskItemType get_ItemType() const
Gets an instance of the RiskItemType enumeration.
System::String ToString() const override
Returns short string representation of a risk item. The exact details of the representation are unspe...
Aspose.
Definition: Asn.h:13