public abstract class AbstractRestartStrategy extends Object implements IRestartStrategy
Modifier and Type | Field and Description |
---|---|
protected double |
geometricalFactor |
protected int |
scaleFactor |
Modifier | Constructor and Description |
---|---|
protected |
AbstractRestartStrategy(String name,
int scaleFactor,
double geometricalFactor) |
Modifier and Type | Method and Description |
---|---|
protected static void |
checkPositiveValue(double value) |
double |
getGeometricalFactor() |
String |
getName() |
int |
getScaleFactor() |
int[] |
getSequenceExample(int length) |
void |
setGeometricalFactor(double geometricalFactor) |
void |
setScaleFactor(int scaleFactor) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNextCutoff
protected int scaleFactor
protected double geometricalFactor
protected AbstractRestartStrategy(String name, int scaleFactor, double geometricalFactor)
protected static void checkPositiveValue(double value)
public double getGeometricalFactor()
getGeometricalFactor
in interface IRestartStrategy
public final String getName()
getName
in interface IRestartStrategy
public final int getScaleFactor()
getScaleFactor
in interface IRestartStrategy
public void setGeometricalFactor(double geometricalFactor)
setGeometricalFactor
in interface IRestartStrategy
public final void setScaleFactor(int scaleFactor)
setScaleFactor
in interface IRestartStrategy
public int[] getSequenceExample(int length)
Copyright © 2015. All rights reserved.