// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) fieldsfirst 
// Source File Name:   AbstractTask.java

package drm.genetics;


// Referenced classes of package drm.genetics:
//			Task, Mutation, Crossover

public abstract class AbstractTask
	implements Task
{

	protected Mutation mutation;
	protected Crossover crossover;
	protected double minWeight;

	public AbstractTask()
	{
		mutation = null;
		crossover = null;
		minWeight = 1.0D;
	}

	public Mutation getMutation()
	{
		return mutation;
	}

	public Crossover getCrossover()
	{
		return crossover;
	}

	public void setRequeredWeight(double weight)
	{
		minWeight = weight;
	}

	public double getRequeredWeight()
	{
		return minWeight;
	}
}
