Skip to content

Commit d465855

Browse files
committed
Extrame optimization of THRO
modified: .JuliaFormatter.toml modified: src/MetaheuristicsAlgorithms.jl modified: src/algo/THRO.jl modified: test/benchfunctions.jl
1 parent 4003454 commit d465855

File tree

4 files changed

+381
-242
lines changed

4 files changed

+381
-242
lines changed

.JuliaFormatter.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@ margin = 200
33
remove_extra_newlines = true
44
trailing_zero = false
55
join_lines_based_on_source = true
6-
whitespace_in_kwargs = false
6+
whitespace_in_kwargs = false
7+
annotate_untyped_fields_with_any = false
8+
align_assignment = true
9+
align_struct_field = true
10+
align_conditional = true
11+
align_pair_arrow = true
12+
align_matrix = true

src/MetaheuristicsAlgorithms.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ using Random,
1111
# abstract type OptimizationResult end
1212

1313
struct OptimizationResult
14-
bestX::Vector
14+
bestX::Vector{Float64}
1515
bestF::Float64
1616
his_best_fit::Vector{Float64}
1717
end
@@ -142,6 +142,7 @@ include("algo/SSA.jl")
142142
include("algo/STOA.jl")
143143
include("algo/SuperbFOA.jl")
144144
include("algo/SupplyDO.jl")
145+
include("algo/THRO.jl")
145146
include("algo/TLBO.jl")
146147
include("algo/TLCO.jl")
147148
include("algo/TOC.jl")

0 commit comments

Comments
 (0)