// Weighting.java
//
// (c) 1999-2000 PAL Development Core Team
//
// This package may be distributed under the
// terms of the GNU General Public License (GPL)

package pal.misc;

/**
 * interface for classes which provide weighing mechanisms
 *
 * @version $Id: Weighting.java,v 1.2 2001/04/05 12:14:44 korbinian Exp $
 *
 * @author Matthew Goode
 */
public interface Weighting extends Parameterized, Report, java.io.Serializable {

	//public double getWeight(int weightNumber);

	/** @return an array of weights.
		*	@note Users of this array should not alter it in anyway as it may be the array that is used internally by a weighting.
		*/
	double[] getWeights();
	/** For people who don't like casting...*/
	Weighting getWeightingCopy();
}
