* Key: {@code -grid.size} *
*/ public static final OptionID GRID_ID = new OptionID("grid.size", "The number of partitions in each dimension. Points will be placed on the edges of the grid, except for a grid size of 0, where only the mean is generated as reference point."); /** * Parameter to specify the extra scaling of the space, to allow * out-of-data-space reference points. ** Key: {@code -grid.oversize} *
*/ public static final OptionID GRID_SCALE_ID = new OptionID("grid.scale", "Scale the grid by the given factor. This can be used to obtain reference points outside the used data space."); /** * Holds the value of {@link #GRID_ID}. */ protected int gridres; /** * Holds the value of {@link #GRID_SCALE_ID}. */ protected double gridscale; /** * Constructor. * * @param gridres Grid resolution * @param gridscale Grid scaling */ public GridBasedReferencePoints(int gridres, double gridscale) { super(); this.gridres = gridres; this.gridscale = gridscale; } @Override public