public double getLinkWidth( double coefficient, double exponent, double sdResiduals ) {
        // Returns a random value that follows a gaussian distribution
        double sampleGaussian = rn.nextGaussian() * sdResiduals;
        double upstreamArea = getUpstreamArea(null) / 1000000.0;

        double width = coefficient * Math.pow(upstreamArea, exponent) * Math.exp(sampleGaussian);
        return width;
    }
public double getLinkWidth ( double coefficient , double exponent , double sdResiduals ) { double sampleGaussian = rn . nextGaussian ( ) * sdResiduals ; double upstreamArea = getUpstreamArea ( null ) / 1000000.0 ; double width = coefficient * Math . pow ( upstreamArea , exponent ) * Math . exp ( sampleGaussian ) ; return width ; }
/* (non-Javadoc)
@see org.hortonmachine.hmachine.modules.hydrogeomorphology.adige.core.IHillSlope#getLinkWidth(double, double, double)