本文へ移動

@eightkk/vue-weave / core / PlacementResult

Interface: PlacementResult<I> ​

Defined in: src/core/placement.ts:50

Type Parameters ​

I ​

I extends PlacementInput = PlacementInput

Properties ​

diagnostics ​

diagnostics: readonly PlacementDiagnostic[]

Defined in: src/core/placement.ts:65

First one unplaced-subtasks entry per placed summary task without a placed active subtask, in input order; then one unplaced-predecessor entry per link from an unplaced task and placed task that it binds, in link order.


excludedAssignments ​

excludedAssignments: readonly ResourceAssignment[]

Defined in: src/core/placement.ts:74

Assignments of tasks that are not placed or are summary tasks left out, in input order. They do not count towards resource load.


excludedDependencyIds ​

excludedDependencyIds: readonly string[]

Defined in: src/core/placement.ts:69

Links left out because an endpoint is not placed or is a summary task left out, in input order.


input ​

input: I

Defined in: src/core/placement.ts:60

The input with only the placed tasks, the links between them and their assignments. scheduleTasks, levelResources and calculateResourceLoad accept it without unknown-task errors.


ok ​

ok: boolean

Defined in: src/core/placement.ts:55

False when the placement input cannot represent the plan: a placed task depends on a task that is not placed, or a placed summary task has no placed active subtask. Do not present the plan as feasible then.


retargetedDependencies? ​

optional retargetedDependencies?: readonly PlacementRetargetedDependency[]

Defined in: src/core/placement.ts:79

The links that replace an excluded link from a placed task into an unplaced summary task, in link order and then in hierarchy order of the subtasks. Map their IDs back with dependencyId. Present only when not empty.


unplacedTaskIds ​

unplacedTaskIds: readonly string[]

Defined in: src/core/placement.ts:67

Input tasks that are not placed, in input order.

MIT ライセンスで公開しています。