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