Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
schedgen
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Admin message
Pour rappel, le service sera inaccessible ce lundi 05/05/25 midi pour raison de mise à jour.
Show more breadcrumbs
veriT
schedgen
Commits
88d9dacb
Commit
88d9dacb
authored
3 years ago
by
Hans-Jörg
Browse files
Options
Downloads
Patches
Plain Diff
Small tweaks
parent
8b927d2f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
README.md
+0
-1
0 additions, 1 deletion
README.md
schedgen/schedgen-finalize.py
+7
-6
7 additions, 6 deletions
schedgen/schedgen-finalize.py
schedgen/schedgen-simulate.py
+1
-1
1 addition, 1 deletion
schedgen/schedgen-simulate.py
setup.py
+1
-0
1 addition, 0 deletions
setup.py
shell.nix
+1
-1
1 addition, 1 deletion
shell.nix
with
10 additions
and
9 deletions
README.md
+
0
−
1
View file @
88d9dacb
...
...
@@ -22,4 +22,3 @@ The main script is `schedgen-optimize.py` in the folder `schedgen`.
Running this command with
`--help`
produces an overview of the available
options. For some pointers on how to use everything, take a look at the
`contrib/run.sh`
script.
This diff is collapsed.
Click to expand it.
schedgen/schedgen-finalize.py
+
7
−
6
View file @
88d9dacb
...
...
@@ -31,12 +31,13 @@ args_parser.add_argument(
type
=
file_path
,
)
args_parser
.
add_argument
(
"
-
-timeou
t
"
,
metavar
=
"
TIMEOUT
"
,
dest
=
"
time
out
"
,
help
=
"
Total ti
me
ava
ilable to the schedules. Exposed to the template.
"
,
default
=
None
,
"
-t
"
,
"
--time
"
,
dest
=
"
time
"
,
me
t
ava
r
=
"
T
"
,
default
=
240.0
,
type
=
float
,
help
=
"
Total time available in seconds.
"
,
)
args_parser
.
add_argument
(
"
--executable
"
,
...
...
@@ -88,7 +89,7 @@ if __name__ == "__main__":
rendered
=
template
.
render
(
logics
=
logics
,
schedules
=
referencedSchedules
,
time
out
=
args
.
time
out
,
time
=
args
.
time
,
executable
=
args
.
executable
,
)
with
open
(
args
.
output
,
"
w
"
)
as
outputFile
:
...
...
This diff is collapsed.
Click to expand it.
schedgen/schedgen-simulate.py
+
1
−
1
View file @
88d9dacb
...
...
@@ -40,7 +40,7 @@ args_parser.add_argument(
metavar
=
"
T
"
,
default
=
None
,
type
=
float
,
help
=
"
Total time av
i
alable to the schedule in seconds.
"
,
help
=
"
Total time ava
i
lable to the schedule in seconds.
"
,
)
args_parser
.
add_argument
(
"
-c
"
,
...
...
This diff is collapsed.
Click to expand it.
setup.py
+
1
−
0
View file @
88d9dacb
...
...
@@ -35,6 +35,7 @@ setup(
"
schedgen/schedgen-optimize.py
"
,
"
schedgen/schedgen-finalize.py
"
,
"
schedgen/schedgen-finalize.py
"
,
"
schedgen/schedgen-visualize.py
"
],
license
=
"
BSD 3-Clause License
"
,
classifiers
=
[
...
...
This diff is collapsed.
Click to expand it.
shell.nix
+
1
−
1
View file @
88d9dacb
...
...
@@ -3,7 +3,7 @@
* development environemt.
*
* When the nix package manager is installed run
* > nix-shell
./scripts/dev-env.nix
* > nix-shell
* to get a shell with the dependenies of veriT present. This was only tested
* on NixOS, but should work on other platforms which are supported by the Nix
* packagemanger (such as MacOS X) too.
...
...
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