Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PROSA - Formally Proven Schedulability Analysis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RT-PROOFS
PROSA - Formally Proven Schedulability Analysis
Commits
429e36eb
Commit
429e36eb
authored
8 years ago
by
Felipe Cerqueira
Browse files
Options
Downloads
Patches
Plain Diff
Leave base schedule arbitrary during construction
parent
8c68c87a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
model/uni/transformation/construction.v
+3
-3
3 additions, 3 deletions
model/uni/transformation/construction.v
with
3 additions
and
3 deletions
model/uni/transformation/construction.v
+
3
−
3
View file @
429e36eb
...
...
@@ -20,8 +20,8 @@ Module ScheduleConstruction.
Variable
build_schedule
:
schedule
arr_seq
->
time
->
option
(
JobIn
arr_seq
)
.
(* Then, starting from
the empty schedule as a bas
e, ... *)
Definition
empty
_sched
ule
:
schedule
arr_seq
:=
fun
t
=>
None
.
(* Then, starting from
a base schedul
e, ... *)
Variable
base
_sched
:
schedule
arr_seq
.
(* ...we can update individual times using the build_schedule function, ... *)
Definition
update_schedule
(
prev_sched
:
schedule
arr_seq
)
...
...
@@ -36,7 +36,7 @@ Module ScheduleConstruction.
if
t_max
is
t_prev
.
+
1
then
update_schedule
(
schedule_prefix
t_prev
)
t_prev
.
+
1
else
update_schedule
empty
_sched
ule
0
.
update_schedule
base
_sched
0
.
(* Based on the schedule prefixes, we construct a complete schedule. *)
Definition
build_schedule_from_prefixes
:=
fun
t
=>
schedule_prefix
t
t
.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment