weka.gui.beans
Interface WekaWrapper

All Known Implementing Classes:
Classifier, Filter, Loader

public interface WekaWrapper

Interface to something that can wrap around a class of Weka algorithms (classifiers, filters etc). Typically implemented by a bean for handling classes of Weka algorithms.

Since:
1.0
Version:
1.0
Author:
Mark Hall

Method Summary
 java.lang.Object getWrappedAlgorithm()
          Get the algorithm
 void setWrappedAlgorithm(java.lang.Object algorithm)
          Set the algorithm.
 

Method Detail

setWrappedAlgorithm

public void setWrappedAlgorithm(java.lang.Object algorithm)
Set the algorithm.

Parameters:
algorithm - an Object value
Throws:
java.lang.IllegalArgumentException - if the supplied object is not of the class of algorithms handled by this wrapper.

getWrappedAlgorithm

public java.lang.Object getWrappedAlgorithm()
Get the algorithm

Returns:
an Object value