// 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:   SimpleParceptron.java

package drm.signal.neuro;


// Referenced classes of package drm.signal.neuro:
//			AbstractNeuroBox

public class SimpleParceptron extends AbstractNeuroBox
{

	public double threshold;

	public SimpleParceptron()
	{
		threshold = 0.5D;
	}

	protected double function(double sum)
	{
		return sum <= threshold ? 0.0D : 1.0D;
	}
}
