18 [[nodiscard]] std::string_view
name() const noexcept override;
First Come First Served (FCFS) scheduling policy.
std::string_view name() const noexcept override
Policy name.
ProcessId selectNext(const std::vector< SchedulingProcessSnapshot > &readyQueue, const IClock &clock) const override
Selects the next process in FCFS order.
bool shouldPreempt(const SchedulingProcessSnapshot &running, const SchedulingProcessSnapshot &candidate, const IClock &clock) const override
FCFS never preempts the currently running process.
Abstract clock interface for simulation time.
Strategy interface for scheduling algorithms.
ISchedulingPolicy interface for pluggable scheduling algorithms.
std::uint32_t ProcessId
Unique identifier for a process.
Immutable process view consumed by scheduling policies.