Skip to content
Snippets Groups Projects
Commit eff367aa authored by Sergey Bozhko's avatar Sergey Bozhko :eyes: Committed by Björn Brandenburg
Browse files

move [Context] declaration out of the global context

parent 631a3fdf
No related branches found
No related tags found
1 merge request!151move [Context] declaration out of the global context
Pipeline #54348 passed with warnings
...@@ -4,18 +4,18 @@ Require Export prosa.model.task.arrival.curves. ...@@ -4,18 +4,18 @@ Require Export prosa.model.task.arrival.curves.
(** * Converting an Arrival Curve + Worst-Case/Best-Case to a Request-Bound Function (RBF) *) (** * Converting an Arrival Curve + Worst-Case/Best-Case to a Request-Bound Function (RBF) *)
(** Consider any type of tasks with a given cost ... *)
Context {Task : TaskType} `{TaskCost Task} `{TaskMinCost Task}.
(** ... and any type of jobs associated with these tasks. *)
Context {Job : JobType} `{JobTask Job Task} `{JobCost Job}.
(** In the following, we show a way to convert a given arrival curve, (** In the following, we show a way to convert a given arrival curve,
paired with a worst-case/best-case execution time, to a request-bound function. paired with a worst-case/best-case execution time, to a request-bound function.
Definitions and proofs will handle both lower-bounding and upper-bounding arrival Definitions and proofs will handle both lower-bounding and upper-bounding arrival
curves. *) curves. *)
Section ArrivalCurveToRBF. Section ArrivalCurveToRBF.
(** Consider any type of tasks with a given cost ... *)
Context {Task : TaskType} `{TaskCost Task} `{TaskMinCost Task}.
(** ... and any type of jobs associated with these tasks. *)
Context {Job : JobType} `{JobTask Job Task} `{JobCost Job}.
(** Let [MaxArr] and [MinArr] represent two arrivals curves. [MaxArr] upper-bounds (** Let [MaxArr] and [MinArr] represent two arrivals curves. [MaxArr] upper-bounds
the possible number or arrivals for a given task, whereas [MinArr] lower-bounds it. *) the possible number or arrivals for a given task, whereas [MinArr] lower-bounds it. *)
Context `{MaxArr : MaxArrivals Task} `{MinArr : MinArrivals Task}. Context `{MaxArr : MaxArrivals Task} `{MinArr : MinArrivals Task}.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment