net.simplace.client.simulation.lap.transformer.LinearRegressionTransformer
taking data with n depth depended layers transformer creates m layers with
the same information
public class LinearRegressionTransformer extends
net.simplace.simulation.io.resources.FWSimResourceTransformer {
// Public Constructors
public LinearRegressionTransformer(FWSimSession aSession, Element
aResourceElement, Integer aOrderNumber);
public LinearRegressionTransformer(FWSimSession aSession, Integer
aOrderNumber);
// Public Instance Methods public HashMap createVariables(); // Defines
net.simplace.simulation.io.FWSimIOAdapter
public FWSimResourceCache getData(FWSimVarMap aVarMap)
throws MissingSimResourceException; // Defines
net.simplace.simulation.io.resources.FWSimInputAdapter
standard method from outside
public FWSimResourceCache
getData(FWSimVarMap aVarMap, FWSimResourceCache
aResourceCache) throws MissingSimResourceException;
used by test cases
- aVarMap
variable map
- aResourceCache
Cached resources (soil data)
returns delivered new data from transformer
public void fillVarMap(FWSimVarMap aVarMap);
// Defines
net.simplace.simulation.io.resources.FWSimResourceTransformer
public FWSimResourceCache
calculateLinearRegression(FWSimVariable aXName,
FWSimVariable aYName, String aProjectID, FWSimResourceCache aCache)
throws MissingSimResourceException;
Calculates the linear regression from two vectors X and Y by the least square approach.
- aXName
- aYName
- aProjectID
id of the project
- aCache
original soil info stored
returns the new created {@link FWSimResourceCache}
public Element toXML(); // Defines
net.simplace.simulation.io.resources.FWSimResourceTransformer
public void updateFields(FWObservable aObservable);
// Defines
net.simplace.simulation.io.resources.FWSimResourceTransformer
}
Hierarchy: java.lang.Object - net.simplace.simulation.io.FWSimIOAdapter (net.simplace.simulation.util.FWSimFieldContainer) - net.simplace.simulation.io.resources.FWSimInputAdapter - net.simplace.simulation.io.resources.FWSimResourceTransformer - LinearRegressionTransformer