Package org.encog.util.normalize

Examples of org.encog.util.normalize.NormalizationError


   * 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());
  }
View Full Code Here


  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));
    }
  }
View Full Code Here

   */
  public OutputFieldMultiplicative(final OutputFieldGroup group,
      final InputField field) {
    super(group, field);
    if (!(group instanceof MultiplicativeGroup)) {
      throw new NormalizationError(
        "Must use MultiplicativeGroup with OutputFieldMultiplicative.");
    }
  }
View Full Code Here

   */
  public OutputFieldZAxis(final OutputFieldGroup group,
      final InputField field) {
    super(group, field);
    if (!(group instanceof ZAxisGroup)) {
      throw new NormalizationError(
          "Must use ZAxisGroup with OutputFieldZAxis.");
    }
  }
View Full Code Here

   * @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.");
    }
  }
View Full Code Here

TOP

Related Classes of org.encog.util.normalize.NormalizationError

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.