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: NSGAIISDR.m
    path of file: ./repos/PlatEMO/PlatEMO/Algorithms/Multi-objective optimization/NSGA-II-SDR
    
    the code of the file until where you have to start completion: classdef NSGAIISDR < ALGORITHM
% <many> <real/integer/label/binary/permutation>
% NSGA-II with strengthened dominance relation

%------------------------------- Reference -------
    
function main(Algorithm,Problem)
            %% Generate random population
            Population = Problem.Initialization();
            zmin       = min(Population.objs,[],1);
            zmax       = max(Population.objs,[],1);
            [~,FrontNo,CrowdDis] = EnvironmentalSelection(Population,Problem.N,zmin,zmax);

            %% Optimization
            while Algorithm.NotTerminated(Population)
                MatingPool = TournamentSelection(2,Problem.N,FrontNo,-CrowdDis);
                Offspring  = OperatorGA(Problem,Population(MatingPool));
                zmin       = min([zmin;Offspring.objs],[],1);
                zmax       = max(Population(FrontNo==1).objs,[],1);
                [Population,FrontNo,CrowdDis] = EnvironmentalSelection([Population,Offspring],Problem.N,zmin,zmax);
            end