8 #include <system/object.h>
9 #include <system/date_time.h>
12 #include "aspose.tasks.cpp/aspose_tasks_api_defs.h"
19 namespace RiskAnalysis
21 template <
typename>
class Percentile;
24 class RiskReportBuilder;
26 class RiskItemStatisticsCollection;
27 enum class RiskItemType;
28 class RiskValueCollection;
29 class SampleCollector;
43 namespace RiskAnalysis {
51 typedef System::Object BaseType;
53 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
54 ASPOSE_TASKS_SHARED_RTTI_INFO_DECL();
56 friend class Aspose::Tasks::RiskAnalysis::SampleCollector;
57 friend class Aspose::Tasks::RiskAnalysis::Reporting::RiskReportBuilder;
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));
103 ASPOSE_TASKS_SHARED_API
void AddSample(System::DateTime value);
104 #ifdef ASPOSE_GET_SHARED_MEMBERS
105 ASPOSE_TASKS_SHARED_API
void GetSharedMembers(System::Object::shared_members_type& result)
const override;
111 RiskItemType itemType;
112 System::SharedPtr<Task> task;
113 System::SharedPtr<RiskValueCollection> riskValues;
114 System::SharedPtr<Percentile<System::DateTime>> percentile;
Represents duration in a project.
Definition: Duration.h:163
Represents a collection containing the instances of the RiskItemStatistics class.
Definition: RiskItemStatisticsCollection.h:51
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...