sampo.scheduler.heft.base#
Overview#
Scheduler that uses method of a critical path. |
|
Type of scheduler that use method of critical path. |
Classes#
- class sampo.scheduler.heft.base.HEFTScheduler(scheduler_type: sampo.scheduler.base.SchedulerType = SchedulerType.HEFTAddEnd, resource_optimizer: sampo.scheduler.resource.base.ResourceOptimizer = FullScanResourceOptimizer(), timeline_type: Type = JustInTimeTimeline, work_estimator: sampo.schemas.time_estimator.WorkTimeEstimator = DefaultWorkEstimator(), prioritization_f: Callable = prioritization, resource_optimize_f: Callable = None)#
Bases:
sampo.scheduler.generic.GenericSchedulerScheduler that uses method of a critical path. The scheduler gives opportunity to add work only to end.
- class sampo.scheduler.heft.base.HEFTBetweenScheduler(scheduler_type: sampo.scheduler.base.SchedulerType = SchedulerType.HEFTAddBetween, resource_optimizer: sampo.scheduler.resource.base.ResourceOptimizer = FullScanResourceOptimizer(), work_estimator: sampo.schemas.time_estimator.WorkTimeEstimator = DefaultWorkEstimator())#
Bases:
HEFTSchedulerType of scheduler that use method of critical path. The scheduler give opportunity to add work between existing works.
- static get_finish_time(node, worker_team, node2swork, spec, assigned_parent_time, timeline, work_estimator)#