Library prosa.model.preemption.fully_nonpreemptive
(* ----------------------------------[ coqtop ]---------------------------------
Welcome to Coq 8.13.0 (January 2021)
----------------------------------------------------------------------------- *)
Require Export prosa.model.preemption.parameter.
Preemption Model: Fully Non-Preemptive Jobs
In this section, we instantiate [job_preemptable] for the fully non-preemptive model, wherein no job can be forcefully preempted at any time.
Consider any type of jobs with execution costs.
We say that the model is fully non-preemptive iff no job
can be preempted until its completion.
Global Instance fully_nonpreemptive_model : JobPreemptable Job :=
{
job_preemptable (j : Job) (ρ : work) := (ρ == 0) || (ρ == job_cost j)
}.
End FullyNonPreemptiveModel.
{
job_preemptable (j : Job) (ρ : work) := (ρ == 0) || (ρ == job_cost j)
}.
End FullyNonPreemptiveModel.