You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: TP6.m
    path of file: ./repos/PlatEMO/PlatEMO/Problems/Multi-objective optimization/TP
    
    the code of the file until where you have to start completion: classdef TP6 < PROBLEM
% <multi> <real> <large/none> <robust>
% Test problem f
    
function score = CalMetric(obj,metName,Population)
            switch metName
                case {'Mean_IGD','Mean_HV','Worst_IGD','Worst_HV'}
                    score = feval(metName,Population,obj);
                otherwise
                    score = feval(metName,Population,obj.optimum);
            end