Project::analyze#
Computes analytics over dates without scheduling them. It reads either supplied ProjectData or the current dates of a Project, including unsolved edits. It never installs data and never changes the solved status.
Signature#
Takes &self. Synchronous and CPU-only. Works on an unsolved project.
Parameters#
| Name | Type | Description |
|---|---|---|
data |
Option<&ProjectData> |
Dates to analyze, or None for the project's current dates |
options |
&AnalyzeOptions |
Which analytics to compute |
Returns#
A ScheduleResult with cycles, notes, analytics and overallocations. It has no updates and no conflicts. Its baseline_id is set only for None on a solved project with no unsolved edits.
Errors#
| Error | When |
|---|---|
Error::Input |
Supplied data fails validation |
Example#
Get the critical path of dates stored elsewhere, without scheduling them.
use ;
Related#
Project- the type and its other methodsAnalyzeOptions- which analytics to computeScheduleResult- the returned result- Critical path and slack - analyzing supplied and current dates