org.joone.util
Class ConverterPlugIn
- java.lang.Object
-
- org.joone.util.AbstractConverterPlugIn
-
- org.joone.util.ConverterPlugIn
-
- All Implemented Interfaces:
- java.io.Serializable, PlugInListener
- Direct Known Subclasses:
- CenterOnZeroPlugIn, ColumnSelectorPlugIn, DeltaNormPlugIn, LogarithmicPlugIn, MinMaxExtractorPlugIn, MovingAveragePlugIn, NormalizerPlugIn, RbfRandomCenterSelector, ShufflePlugin, ToBinaryPlugin
public abstract class ConverterPlugIn extends AbstractConverterPlugIn
This abstract class must be extended to implement plug-ins for input data preprocessing. The objects extending this class can be inserted into objects that extend theorg.joone.io.StreamInputSynapse.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ConverterPlugIn()The default constructor of the ConverterPlugIn.ConverterPlugIn(java.lang.String anAdvancedSerieSelector)Constructor of the ConverterPlugIn.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanisApplyEveryCycle()Getter for property applyEachCycle.booleannewCycle()This method is called at the start of a new cycle, and permit to apply the conversion for the components having the applyEveryCycle property set to true.voidsetApplyEveryCycle(boolean anApplyEveryCycle)Setter for property applyEachCycle.-
Methods inherited from class org.joone.util.AbstractConverterPlugIn
addPlugIn, addPlugInListener, check, convertPatterns, dataChanged, getAdvancedSerieSelector, getName, getNextPlugIn, isConnected, removeAllPlugIns, removePlugInListener, setAdvancedSerieSelector, setConnected, setInputVector, setName, setNextPlugin, setNextPlugIn
-
-
-
-
Constructor Detail
-
ConverterPlugIn
public ConverterPlugIn()
The default constructor of the ConverterPlugIn.
-
ConverterPlugIn
public ConverterPlugIn(java.lang.String anAdvancedSerieSelector)
Constructor of the ConverterPlugIn.- Parameters:
anAdvancedSerieSelector-- See Also:
AbstractConverterPlugIn.AbstractConverterPlugIn(String)
-
-
Method Detail
-
newCycle
public boolean newCycle()
This method is called at the start of a new cycle, and permit to apply the conversion for the components having the applyEveryCycle property set to true. This different entry point has been added in order to avoid to applying the conversion for plugins having the applyEveryCycle property set to false.- Returns:
- true if the input buffer is changed
-
isApplyEveryCycle
public boolean isApplyEveryCycle()
Getter for property applyEachCycle.- Returns:
- Value of property applyEachCycle.
-
setApplyEveryCycle
public void setApplyEveryCycle(boolean anApplyEveryCycle)
Setter for property applyEachCycle.- Parameters:
anApplyEachCycle- New value of property applyEachCycle.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG