Skip to content

Commit

Permalink
Merge pull request geatpy-dev#300 from authenticz/master
Browse files Browse the repository at this point in the history
fix(Algorithm.py): add missing parameters for calculating HV
  • Loading branch information
geatpy-dev authored Mar 19, 2023
2 parents 358152d + 9a25f25 commit 28835af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion geatpy/Algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def logging(self, pop):
if self.problem.ReferObjV is not None:
self.log['gd'].append(ea.indicator.GD(NDSet.ObjV, self.problem.ReferObjV)) # 计算GD指标
self.log['igd'].append(ea.indicator.IGD(NDSet.ObjV, self.problem.ReferObjV)) # 计算IGD指标
self.log['hv'].append(ea.indicator.HV(NDSet.ObjV), ) # 计算HV指标
self.log['hv'].append(ea.indicator.HV(NDSet.ObjV, self.problem.ReferObjV)) # 计算HV指标
else:
self.log['gd'].append(None)
self.log['igd'].append(None)
Expand Down

0 comments on commit 28835af

Please sign in to comment.