// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3) space 
// 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 MethodBase()
    {
        iterations = 1000;
    }

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

    public int iterations()
    {
        return iterations;
    }

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

    public int iterations;
}
