public void setArgs(int lf, int cf, int df) throws java.io.IOException
    {
	if (lf < 0 || lf > 100)
	    {
		throw new IllegalArgumentException("Illegal Loss Fraction value");
	    }
	
	if (cf < 0 || cf > 100)
	    {
		throw new IllegalArgumentException("Illegal Corruption Fraction value");
	    }
	
	if (df < 0 || df > 100)
	    {
		throw new IllegalArgumentException("Illegal Duplication Fraction value");
	    }
	
	if (lf + cf + df > 100)
	    {
		throw new IllegalArgumentException("The sum of the fractions cannot exceed 1!");
	    }
	
	loss_frac = lf;
	corrupt_frac = cf;
	dup_frac = df;

// 	System.out.println("lf, cf, df: "+ lf + " " + cf + " " + df);
	
    }