mirror of
https://github.com/kalmarek/PropertyT.jl.git
synced 2024-11-19 15:25:29 +01:00
rework Settings
This commit is contained in:
parent
5492998e7e
commit
3e6a1dde51
@ -32,16 +32,14 @@ struct Symmetrized{El} <: Settings
|
|||||||
end
|
end
|
||||||
|
|
||||||
function Settings(name::String,
|
function Settings(name::String,
|
||||||
G::Group, S::Vector{GEl},
|
G::Group, S::Vector{<:GroupElem},solver::Solver;
|
||||||
radius::Integer, upper_bound::Float64,
|
radius::Integer=2, upper_bound::Float64=1.0, warmstart=true) where {Solver<:AbstractMathProgSolver}
|
||||||
solver::Solver, warmstart=true) where {GEl<:GroupElem, Solver<:AbstractMathProgSolver}
|
|
||||||
return Naive(name, G, S, radius, upper_bound, solver, warmstart)
|
return Naive(name, G, S, radius, upper_bound, solver, warmstart)
|
||||||
end
|
end
|
||||||
|
|
||||||
function Settings(name::String,
|
function Settings(name::String,
|
||||||
G::Group, S::Vector{GEl}, autS::Group,
|
G::Group, S::Vector{<:GroupElem}, autS::Group, solver::Solver;
|
||||||
radius::Integer, upper_bound::Float64,
|
radius::Integer=2, upper_bound::Float64=1.0, warmstart=true) where {Solver<:AbstractMathProgSolver}
|
||||||
solver::Solver, warmstart=true) where {GEl<:GroupElem, Solver<:AbstractMathProgSolver}
|
|
||||||
return Symmetrized(name, G, S, autS, radius, upper_bound, solver, warmstart)
|
return Symmetrized(name, G, S, autS, radius, upper_bound, solver, warmstart)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user