Class: GanttScheduler
- Inherits:
-
ChainScheduler
- Object
- WorkItemScheduler
- ChainScheduler
- GanttScheduler
- Defined in:
- lib/almirah/project/critical_chain.rb
Overview
The Gantt's scheduler (ADR-201/195): real focused-estimate durations like the critical-chain scheduler, but rounded up to whole day columns with a one-day minimum so an unestimated row (focused 0) still shows a visible bar. The chain and buffer keep their exact-duration math in ChainScheduler / CriticalChain.
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
39 40 41 |
# File 'lib/almirah/project/critical_chain.rb', line 39 def duration_for(work_item) [work_item.focused_estimate.ceil, 1].max end |