Sage Modeling and Simulation Library

CpmAnalyst Members

The CpmAnalyst type exposes the following members.

Constructors


  Name Description
Public method CpmAnalyst
Creates a CPMAnalyst that analyzes a given edge and all of its children.

Methods


  Name Description
Public method Analyze
Performs the CPM analysis that this object has been configured for.
Protected method ClearBookKeeping
Public method ClearVertexPegs
Public method Equals(System.Object)
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Protected method FixUpSynchedTasksPostVertices
This method visits the post vertices of all edges that have synchronizers attached to their prevertices, and modifies them to reflect that their latest time is always the latest of their prevertex plus the edge's nominal duration.
Public method GetAcceptableSlip
This method returns the number of ticks in the acceptable slip of an edge. This is the difference between the earliest and latest permissible start times for the edge's preVertex.
Public method GetEarliestFinish
After an analysis has been performed, this accessor method will get the earliest finish time observed for a specified edge.
Public method GetEarliestStart
After an analysis has been performed, this accessor method will get the earliest start time observed for a specified edge.
Protected method GetEdgeData
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public method GetLatestFinish
After an analysis has been performed, this accessor method will get the latest finish time observed for a specified edge.
Public method GetLatestStart
After an analysis has been performed, this accessor method will get the latest start time observed for a specified edge.
Protected method GetSynchronizerData
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method GetVertexData
Public method IsCriticalPath
Returns true if, in the graph or subgraph that was analyzed, this edge was on the critical path.
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method PegVertex
Protected method ProbeBackward
Recursively traverses backward from a given vertex, adding the latest-possible arrival time to each vertex as it goes.
Protected method ProbeForward
Recursively traverses forward from a given vertex, adding the earliest-possible arrival time to each vertex as it goes.
Public method Reset
Resets the analyst so that it can perform its analysis again.
Public method ToString
Returns a string that represents the current object.
(Inherited from Object.)

Fields


  Name Description
Protected field Edges
A hashtable of edge-related data compiled by this analyst.
Protected field Finish
The finish vertex for the section of the graph that is to be analyzed.
Protected field Start
The start vertex for the section of the graph that is to be analyzed.
Protected field Synchronizers
A hashtable of synchronizer-related data compiled by this analyst.
Protected field VertexPegs
A hashtable of vertices that this analyst knows to be pegged at certain times.
Protected field Vertices
A hashtable of vertex-related data compiled by this analyst.

Properties


  Name Description
Public property Analyzed