pub struct Network { /* private fields */ }

Implementations

A list of all activities in the precedence network

A list of all edges in the precedence network

Test whether two activities are connected

A list of all start activities

A start activity is an activity with no preceding activities.

A list of all finish activities

A finish activity is an activity with no dependant activities.

Returns a list of activities that depend on the completion of the given activity

Returns a list of activities that the given activity depends on

The earliest possible finish of an activity

The latest possible finish of an activity

The latest possible start of an activity

The earliest possible start of an activity

Returns true if the given activity is on the critical path

A list of all activities on the critical path

The total float (or slack) of an activity

Slack is how much the activity can be delayed to not cause the final completion time of all activities to be delayed.

The free (or early) float of an activity

The free float is how much the activity can be delayed to not cause a delay in the earliest start of any subsequent activity.

The start of an activity, which can vary depending on how activity_type was set

The finish time of an activity, which can vary depending on how activity_type was set

Whether an activity is active at a certain time

Whether an activity is active during a certain time range

The mean duration of the activity

The mean is calculated as: ((4 * expected_duration) + minimum_duration + maximum_duration) / 6

The variance of the duration of the activity

The variance is calculated as: variance ** 2

The standard deviation of the duration of the activity

This is calculated as: (maximum_duration - minimum_duration) / 6

The depth is a measure of how far the activity is from the start

All start activities have depth 1 and all other activities have depth of the maximum depth of their preceding activities + 1.

Returns a string containing a representation suitable for dot and other programs in the GraphViz package.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Converts to this type from the input type.
Converts to this type from the input type.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.