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

package lt.ktu.gmj.methods;

import lt.ktu.gmj.*;
import lt.ktu.gmj.propertySheet.IntProperty;
import lt.ktu.gmj.propertySheet.PropertyManager;

// Referenced classes of package lt.ktu.gmj.methods:
//			MethodIterationsProvider

public abstract class MethodBase
	implements Method
{

	public int iterations;

	public MethodBase()
	{
		iterations = 500;
	}

	public void customize(PropertyManager propertymanager)
	{
		propertymanager.add(new IntProperty("Iterations", new MethodIterationsProvider(this), 1, 1500));
	}

	public int iterations()
	{
		return iterations;
	}

	public abstract Result run(ResultLogger resultlogger, Task task);
}
