Package weka.gui.beans
Interface WekaWrapper
-
- All Known Implementing Classes:
Associator,Classifier,Clusterer,Filter,Loader,Saver
public interface WekaWrapperInterface 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:
- $Revision: 1.4 $
- Author:
- Mark Hall
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.ObjectgetWrappedAlgorithm()Get the algorithmvoidsetWrappedAlgorithm(java.lang.Object algorithm)Set the algorithm.
-
-
-
Method Detail
-
setWrappedAlgorithm
void setWrappedAlgorithm(java.lang.Object algorithm)
Set the algorithm.- Parameters:
algorithm- anObjectvalue- Throws:
java.lang.IllegalArgumentException- if the supplied object is not of the class of algorithms handled by this wrapper.
-
getWrappedAlgorithm
java.lang.Object getWrappedAlgorithm()
Get the algorithm- Returns:
- an
Objectvalue
-
-