Package de.torstennahm.integrate

Source Code of de.torstennahm.integrate.HaltonGenerator

/*
* Created on Jan 27, 2005
*/
package de.torstennahm.integrate;

import de.torstennahm.series.Halton;
import de.torstennahm.series.Series;
import de.torstennahm.series.Halton.HaltonType;

/**
* Generates a Halton series.
*
* @author Torsten Nahm
*/
public class HaltonGenerator implements PointsGenerator {
  private final HaltonType type;
 
  /**
   * Construct the generator.
   *
   * @param type type of Halton series as defined in @see de.torstennahm.series.Halton
   */
  public HaltonGenerator(Halton.HaltonType type) {
    this.type = type;
  }
 
  public Series<double[]> makeSeries(int dimension) {
    return new Halton(dimension, type);
  }
}
TOP

Related Classes of de.torstennahm.integrate.HaltonGenerator

TOP
Copyright © 2018 www.massapi.com. 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.