103104105106107108109110
* Will throw an exception. * @param i The index. Not used. * @return The value at the specified index. */ public double getValue(final int i) { throw new NormalizationError("Can't call getValue on " + this.getClass().getSimpleName()); }
9091929394959697
public void open(DataNormalization norm) { try { final FileWriter outFile = new FileWriter(this.outputFile); this.output = new PrintWriter(outFile); } catch (final IOException e) { throw (new NormalizationError(e)); } }
646566676869707172
*/ public OutputFieldMultiplicative(final OutputFieldGroup group, final InputField field) { super(group, field); if (!(group instanceof MultiplicativeGroup)) { throw new NormalizationError( "Must use MultiplicativeGroup with OutputFieldMultiplicative."); } }
606162636465666768
*/ public OutputFieldZAxis(final OutputFieldGroup group, final InputField field) { super(group, field); if (!(group instanceof ZAxisGroup)) { throw new NormalizationError( "Must use ZAxisGroup with OutputFieldZAxis."); } }
383940414243444546
* @param group The Z-Axis group that this belongs to. */ public OutputFieldZAxisSynthetic(final OutputFieldGroup group) { super(group, null); if (!(group instanceof ZAxisGroup)) { throw new NormalizationError( "Must use ZAxisGroup with OutputFieldZAxisSynthetic."); } }