Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSCommon > ActivityNetwork > Classes > TActivityNetwork > Methods

TActivityNetwork.GetCriticalActivities(TAOEEvent,TAOEEvent,TStrings,Integer) Method

Scroll Prev Top Next More

Returns a TStrings object containing all the critical activities in the network between the StartEvent and FinishEvent parameters.

A critical activity is an TAOETask object where the EarliestStartTime and LatestStartTime properties equal, in other words a task that can neither start early nor delay starting without affecting the entire project's completion time.

The TStrings object may be passed in using the Path parameter or, if this parameter is nil, the method will allocate a TStrings object for which you are responsible for freeing. The String property of the TStrings contains the TAOETask Name property and the Objects property contains the TAOETask itself. This function also returns the total project earliest completion time in the PathTime parameter.

Namespace: ActivityNetwork

Parameters

StartEvent

Type: TAOEEvent

FinishEvent

Type: TAOEEvent

Path

Type: TStrings

PathTime

Type: Integer

Return Value

Type: TStrings

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb