public class SimpleBackOff extends Object implements BackOff
BackOff
implementation which attempts several writes of the
default block size on startup, and uses that as a scaling factor for all
subsequent calculations.Modifier and Type | Field and Description |
---|---|
protected int |
count |
protected double |
scalingFactor |
protected TileSizes |
sizes |
protected double |
warmUpFactor |
Constructor and Description |
---|
SimpleBackOff() |
SimpleBackOff(TileSizes sizes) |
Modifier and Type | Method and Description |
---|---|
protected double |
calculate() |
protected long |
calculate(Pixels pixels) |
protected int |
countTiles(Pixels pixels) |
int |
getCount() |
double |
getScalingFactor() |
double |
getWarmUpFactor() |
void |
throwMissingPyramidException(String msg,
Pixels pixels) |
String |
toString() |
protected final double scalingFactor
protected final double warmUpFactor
protected final int count
protected final TileSizes sizes
public SimpleBackOff()
public SimpleBackOff(TileSizes sizes)
public int getCount()
public double getScalingFactor()
public double getWarmUpFactor()
public void throwMissingPyramidException(String msg, Pixels pixels)
throwMissingPyramidException
in interface BackOff
protected long calculate(Pixels pixels)
protected int countTiles(Pixels pixels)
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.