public class PinPowerDifference extends GodfreySubStrategy
PinPowerDifference is a subclass of GodfreySubStrategy that takes the user input nuclear reactor pin power data and produces the difference between it and some reference set of pin power data. It produces a URI whose file contains the pin power difference matrices at each axial level and assembly, as well as the uncertainties in those differences. It also outputs the maximum power difference by axial level.
Constructor and Description |
---|
PinPowerDifference(java.util.HashMap<java.lang.Integer,java.util.ArrayList<IDataMatrix>> pinPowers,
java.util.HashMap<java.lang.Integer,java.util.ArrayList<IDataMatrix>> refPinPowers,
java.util.HashMap<java.lang.String,java.lang.String> props)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
executeStrategy()
This method allows subclasses to implement a unique clustering or anomaly
detection algorithm and produce a KDDAnalysisAsset for clients to display
and manipulate.
|
java.util.HashMap<java.lang.Integer,java.util.ArrayList<KDDMatrix>> |
getPinPowerDifference()
Return the pin power difference between the input data and the reference
data.
|
java.util.HashMap<java.lang.Integer,java.util.ArrayList<KDDMatrix>> |
getUncertaintyDifference()
Return the uncertainty difference between the input data and the
reference data.
|
hasExecuted, resetExecuted
getName, getProperties, getPropertiesAsEntryList, getProperty, getType, getURI, resetProperties, setProperty
public PinPowerDifference(java.util.HashMap<java.lang.Integer,java.util.ArrayList<IDataMatrix>> pinPowers, java.util.HashMap<java.lang.Integer,java.util.ArrayList<IDataMatrix>> refPinPowers, java.util.HashMap<java.lang.String,java.lang.String> props)
The constructor. It takes the difference type, which could be Basic or Relative, and the loaded pin powers, reference pin powers, and the symmetry dependent weights.
pinPowers
- refPinPowers
- props
- public boolean executeStrategy()
This method allows subclasses to implement a unique clustering or anomaly detection algorithm and produce a KDDAnalysisAsset for clients to display and manipulate.
executeStrategy
in class GodfreySubStrategy
public java.util.HashMap<java.lang.Integer,java.util.ArrayList<KDDMatrix>> getPinPowerDifference()
Return the pin power difference between the input data and the reference data.
public java.util.HashMap<java.lang.Integer,java.util.ArrayList<KDDMatrix>> getUncertaintyDifference()
Return the uncertainty difference between the input data and the reference data.