net.simplace.simulation.io.output.FWSimStatisticVariable




public abstract class FWSimStatisticVariable {
// Protected Constructors
protected FWSimStatisticVariable(Element aStatElement, FWSimOutputAdapter
aFwSimOutputAdapter);


// Class Methods
public static FWSimStatisticVariable createStatistic(Element aStatElement,
FWSimOutputAdapter aFwSimOutputAdapter);

reads from sources like
returns the newly created statistics container

// Public Instance Methods
public Double calculateStatistics(Object[] aDataArray, Object[] aDataArray2);

calculates the statistics for the given mode
public String getStatID();


returns the statID
public String getStatSimVarID();


returns the statSimVarID
public String getStatObsVarID();


returns the statObsVarID
public String getStatMode();


returns the statMode
public String getUnit();


returns the statMode
public String getDescription();


returns the statMode
public Element toXML();


returns the Element of the variable with all needed values

// Protected Instance Methods
protected abstract Double calculate(Object[] aDataArray, Object[]
aDataArray2, String aStatMode);

implement this method to calculate the statistical value for the given mode


}



Extended by: net.simplace.simulation.io.output.statistic.DefaultSimStatistic



Returned by: createStatistic()