Package adams.flow.processor
Class ReplaceLinearRegression.LinearRegressionObserver
- java.lang.Object
-
- adams.flow.processor.ReplaceLinearRegression.LinearRegressionObserver
-
- All Implemented Interfaces:
adams.core.discovery.PropertyTraversal.Observer
- Enclosing class:
- ReplaceLinearRegression
public static class ReplaceLinearRegression.LinearRegressionObserver extends Object implements adams.core.discovery.PropertyTraversal.Observer
Switches to LinearRegressionJ.
-
-
Field Summary
Fields Modifier and Type Field Description protected int
m_Updates
the number of updates.
-
Constructor Summary
Constructors Constructor Description LinearRegressionObserver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getUpdates()
Returns the number of updates that occurred.boolean
observe(adams.core.discovery.PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.
-
-
-
Method Detail
-
observe
public boolean observe(adams.core.discovery.PropertyPath.Path path, PropertyDescriptor desc, Object parent, Object child)
Presents the current path, descriptor and object to the observer.- Specified by:
observe
in interfaceadams.core.discovery.PropertyTraversal.Observer
- Parameters:
path
- the pathdesc
- the property descriptorparent
- the parent objectchild
- the child object- Returns:
- true if to continue observing
-
getUpdates
public int getUpdates()
Returns the number of updates that occurred.- Returns:
- the number of updates
-
-