Class: ChainScheduler

Inherits:
WorkItemScheduler show all
Defined in:
lib/almirah/project/critical_chain.rb

Overview

Resource-levelled scheduler variant for the critical chain (ADR-195): each row's duration is its focused estimate, and rows are prioritised by the longest downstream chain of focused durations (ties: record sequence, then step). The forward pass, resource levelling, binding-predecessor tracking, and chain tracing are all inherited from WorkItemScheduler.

Direct Known Subclasses

GanttScheduler

Constant Summary

Constants inherited from WorkItemScheduler

WorkItemScheduler::DEFAULT_DURATION

Instance Method Summary collapse

Methods inherited from WorkItemScheduler

#critical_chain, #day_count, #initialize, #makespan, #start_days

Constructor Details

This class inherits a constructor from WorkItemScheduler

Instance Method Details

#duration_for(work_item) ⇒ Object



11
12
13
# File 'lib/almirah/project/critical_chain.rb', line 11

def duration_for(work_item)
  work_item.focused_estimate
end