src/HarvestStrategies.cpp
double HarvestStrategies::HCR1_FemaleRamp(double MFB, double aveMFB, double MMB){
    double femRatio = MFB/aveMFB;
    double xp;
    double TAC;
    if (femRatio < 0.25){
        xp = 0;
    } else if (femRatio >= 1.0){
        xp = 0.2;
    } else{
        xp = femRatio*0.2;
    }
    TAC = MMB*xp;
    return TAC;
}
/**
 * HCR 1: female ramp.
 * 
 * @param MFB - Mature female biomass for the year 
 * @param aveMFB - averaged MFB from 1982-2016
 * @param MMB - Mature Male Biomass for the Year 
 * 
 * @return TAC = exploitation rate time Mature Male Biomass 
 */
HCR 1: female ramp.

@param MFB - Mature female biomass for the year
@param aveMFB - averaged MFB from 1982-2016
@param MMB - Mature Male Biomass for the Year

@return TAC = exploitation rate time Mature Male Biomass
HCR 1 : female ramp . @param MFB - Mature female biomass for the year @param aveMFB - averaged MFB from 1982 - 2016 @param MMB - Mature Male Biomass for the Year @return TAC = exploitation rate time Mature Male Biomass
double HarvestStrategies::HCR1_FemaleRamp(double MFB, double aveMFB, double MMB){
    double femRatio = MFB/aveMFB;
    double xp;
    double TAC;
    if (femRatio < 0.25){
        xp = 0;
    } else if (femRatio >= 1.0){
        xp = 0.2;
    } else{
        xp = femRatio*0.2;
    }
    TAC = MMB*xp;
    return TAC;
}
double HarvestStrategies :: HCR1_FemaleRamp ( double MFB , double aveMFB , double MMB ) { double femRatio = MFB / aveMFB ; double xp ; double TAC ; if ( femRatio < 0.25 ) { xp = 0 ; } else if ( femRatio >= 1.0 ) { xp = 0.2 ; } else { xp = femRatio * 0.2 ; } TAC = MMB * xp ; return TAC ; }
HCR 1: female ramp.
HCR 1 : female ramp .