Skip to content

Commit

Permalink
fix(Algorithm.py): add missing parameters for calculating HV
Browse files Browse the repository at this point in the history
  • Loading branch information
authenticz committed Feb 21, 2023
1 parent 358152d commit 9a25f25
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 9a25f25

Please sign in to comment.