Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DualTVDD.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
Service Desk
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
Stephan Hilb
DualTVDD.jl
Commits
a7cc7cc6
Commit
a7cc7cc6
authored
1 year ago
by
Stephan Hilb
Browse files
Options
Downloads
Patches
Plain Diff
close connectors
parent
a198e206
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
scripts/run_experiments.jl
+1
-0
1 addition, 0 deletions
scripts/run_experiments.jl
src/common.jl
+1
-0
1 addition, 0 deletions
src/common.jl
src/dualtvdd.jl
+4
-0
4 additions, 0 deletions
src/dualtvdd.jl
with
6 additions
and
0 deletions
scripts/run_experiments.jl
+
1
−
0
View file @
a7cc7cc6
...
@@ -193,6 +193,7 @@ function run_while(fwhile, alg)
...
@@ -193,6 +193,7 @@ function run_while(fwhile, alg)
k
+=
1
k
+=
1
step!
(
st
)
step!
(
st
)
end
end
close
(
st
)
return
st
return
st
end
end
...
...
This diff is collapsed.
Click to expand it.
src/common.jl
+
1
−
0
View file @
a7cc7cc6
...
@@ -48,6 +48,7 @@ information to act as a checkpoint for continuing the algorithm at that point.
...
@@ -48,6 +48,7 @@ information to act as a checkpoint for continuing the algorithm at that point.
abstract type
State
end
abstract type
State
end
function
init
end
function
init
end
function
Base.close
(
::
State
)
end
function
step!
end
function
step!
end
function
fetch
end
function
fetch
end
...
...
This diff is collapsed.
Click to expand it.
src/dualtvdd.jl
+
4
−
0
View file @
a7cc7cc6
...
@@ -88,6 +88,10 @@ function init(alg::DualTVDDAlgorithm{<:DualTVL1ROFOpProblem})
...
@@ -88,6 +88,10 @@ function init(alg::DualTVDDAlgorithm{<:DualTVL1ROFOpProblem})
return
DualTVDDState
(
alg
,
p
,
subax
,
cons
)
return
DualTVDDState
(
alg
,
p
,
subax
,
cons
)
end
end
function
Base.close
(
st
::
DualTVDDState
)
foreach
(
close
,
st
.
cons
)
end
function
intersectin
(
a
,
b
)
function
intersectin
(
a
,
b
)
c
=
intersect
(
a
,
b
)
c
=
intersect
(
a
,
b
)
az
=
first
(
a
)
-
one
(
eltype
(
a
))
az
=
first
(
a
)
-
one
(
eltype
(
a
))
...
...
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