Skip to content

Commit 2c60d33

Browse files
authored
Merge pull request #63 from jmejia8/develop
Fix overwritten methods
2 parents 4ea6591 + a39933e commit 2c60d33

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/DecisionMaking/DecisionMaking.jl

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,3 @@ function best_alternative(
4545
return population[idx]
4646
end
4747

48-
best_alternative(st::State, args...) = best_alternative(st.population, args...)
49-

src/DecisionMaking/JMcDM.jl

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,6 @@ function decisionmaking(
129129
result.bestIndex
130130
end
131131

132-
function decisionmaking(population::AbstractArray{<: AbstractMultiObjectiveSolution}, args...)
133-
decisionmaking(fvals(population), args...)
134-
end
135-
136-
137-
function decisionmaking(st::State, args...)
138-
decisionmaking(st.population, args...)
139-
end
140-
141132

142133
"""
143134
best_alternative(res, w, method)
@@ -176,8 +167,3 @@ function best_alternative(st::State, args...)
176167
best_alternative(st.population, args...)
177168
end
178169

179-
best_alternative(status::State, args...) = best_alternative(status.population,args...)
180-
181-
182-
183-

0 commit comments

Comments
 (0)