Skip to content

Commit

Permalink
Merge pull request #63 from jmejia8/develop
Browse files Browse the repository at this point in the history
Fix overwritten methods
  • Loading branch information
jmejia8 authored Jan 9, 2023
2 parents 4ea6591 + a39933e commit 2c60d33
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 16 deletions.
2 changes: 0 additions & 2 deletions src/DecisionMaking/DecisionMaking.jl
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,3 @@ function best_alternative(
return population[idx]
end

best_alternative(st::State, args...) = best_alternative(st.population, args...)

14 changes: 0 additions & 14 deletions src/DecisionMaking/JMcDM.jl
Original file line number Diff line number Diff line change
Expand Up @@ -129,15 +129,6 @@ function decisionmaking(
result.bestIndex
end

function decisionmaking(population::AbstractArray{<: AbstractMultiObjectiveSolution}, args...)
decisionmaking(fvals(population), args...)
end


function decisionmaking(st::State, args...)
decisionmaking(st.population, args...)
end


"""
best_alternative(res, w, method)
Expand Down Expand Up @@ -176,8 +167,3 @@ function best_alternative(st::State, args...)
best_alternative(st.population, args...)
end

best_alternative(status::State, args...) = best_alternative(status.population,args...)




2 comments on commit 2c60d33

@jmejia8
Copy link
Owner Author

@jmejia8 jmejia8 commented on 2c60d33 Jan 9, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/75359

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v3.2.14 -m "<description of version>" 2c60d33fbbfc23888bfc4c85e408c9f750099e83
git push origin v3.2.14

Please sign in to comment.