Library prosa.implementation.definitions.job_constructor
Require Export prosa.implementation.facts.maximal_arrival_sequence.
Require Export prosa.implementation.definitions.task.
Require Export prosa.implementation.definitions.task.
Job Constructor
We first define a job-generation function that produces one concrete job of
the given task, with the given job ID, arriving at the given time ...
Definition generate_job_at tsk t id : Job :=
{| task.job_id := id
; task.job_arrival := t
; task.job_cost := task_cost tsk
; task.job_deadline := t + task_deadline tsk
; task.job_task := tsk |}.
{| task.job_id := id
; task.job_arrival := t
; task.job_cost := task_cost tsk
; task.job_deadline := t + task_deadline tsk
; task.job_task := tsk |}.
... and then generalize the above function to an arbitrary number of
jobs.