Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
MRIBuilder.jl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michiel Cottaar
MRIBuilder.jl
Commits
d9256040
Verified
Commit
d9256040
authored
1 year ago
by
Michiel Cottaar
Browse files
Options
Downloads
Patches
Plain Diff
Make WaitBlock concrete
parent
6cfda7c6
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/wait.jl
+3
-3
3 additions, 3 deletions
src/wait.jl
with
3 additions
and
3 deletions
src/wait.jl
+
3
−
3
View file @
d9256040
module
Wait
module
Wait
import
JuMP
:
Model
,
@constraint
,
@variable
,
VariableRef
,
owner_model
import
JuMP
:
Model
,
@constraint
,
@variable
,
VariableRef
,
owner_model
,
value
import
..
BuildingBlocks
:
BuildingBlock
,
duration
,
properties
,
apply_simple_constraint!
,
BuildingBlockPlaceholder
import
..
BuildingBlocks
:
BuildingBlock
,
duration
,
properties
,
apply_simple_constraint!
,
BuildingBlockPlaceholder
import
..
SequenceBuilders
:
SequenceBuilder
,
to_block
import
..
SequenceBuilders
:
SequenceBuilder
,
to_block
,
AbstractSequence
import
..
ConcreteBlocks
:
to_concrete_block
,
ConcreteBlock
import
..
ConcreteBlocks
:
to_concrete_block
,
ConcreteBlock
import
...
Scanners
:
Scanner
import
...
Scanners
:
Scanner
...
@@ -42,6 +42,6 @@ duration(wb::WaitBlock) = wb.duration
...
@@ -42,6 +42,6 @@ duration(wb::WaitBlock) = wb.duration
scanner_constraints!
(
::
Model
,
::
WaitBlock
,
::
Scanner
)
=
nothing
scanner_constraints!
(
::
Model
,
::
WaitBlock
,
::
Scanner
)
=
nothing
to_concrete_block
(
builder
::
Sequence
Builder
,
wb
::
WaitBlock
)
=
ConcreteBlock
(
builder
,
duration
(
wb
))
to_concrete_block
(
builder
::
Abstract
Sequence
,
wb
::
WaitBlock
)
=
ConcreteBlock
(
builder
,
value
(
duration
(
wb
))
)
end
end
\ No newline at end of file
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