package com.approximatrix.draco.application.plugin;

import com.approximatrix.draco.analysis.MinimalAnalysis;

public class RegressionPlugin extends Plugin implements MinimalAnalysis {

	/**
	 * @param name
	 * @param type
	 * @param script
	 * @param scriptClass
	 */
	public RegressionPlugin(String name, String scriptClass, String script) {
		super(name, PluginType.regression, script, scriptClass);
		// TODO Auto-generated constructor stub
	}

	/* (non-Javadoc)
	 * @see com.approximatrix.draco.analysis.MinimalAnalysis#getResults()
	 */
	public String getResults() {
		return super.getResults();
	}

	/* (non-Javadoc)
	 * @see com.approximatrix.draco.analysis.MinimalAnalysis#perform()
	 */
	public void perform() {
		super.execute();
	}

	@Override
	public RegressionPlugin createInstance() {
		return new RegressionPlugin(this.getName(),this.getScriptRequire(),this.getScriptClass());
	}

}
