package formules;import fr.ifremer.isisfish.entities.*;import org.codelutin.math.matrix.*;import fr.ifremer.isisfish.types.Date;import fr.ifremer.isisfish.types.Month;import fr.ifremer.isisfish.types.RangeOfValues;import fr.ifremer.isisfish.types.TimeUnit;import java.util.*;public class fr_ifremer_isisfish_entities_Equation_1175514902980_0_8177977665479189 implements fr.ifremer.isisfish.equation.SelectivityEquation {public double compute(fr.ifremer.isisfish.simulator.SimulationContext context, fr.ifremer.isisfish.entities.Population pop, fr.ifremer.isisfish.entities.PopulationGroup group, fr.ifremer.isisfish.entities.Metier metier) throws Exception {if (group.getLength()<=17.5) return 0.0;else if (group.getLength()<=20.7) return 0.31;else if (group.getLength()<=23.9) return 0.78;else if (group.getLength()<=33.5) return 1;else return 1;
}
}
