Removed spurious @Override.
As we are still targeting Java 5, @Override should not be used for mere interface implementation. git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@1557424 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
aad194a346
commit
5f0fcfce89
|
@ -69,7 +69,6 @@ public class Network
|
||||||
private static final long serialVersionUID = 20130207L;
|
private static final long serialVersionUID = 20130207L;
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public int compare(Neuron a,
|
public int compare(Neuron a,
|
||||||
Neuron b) {
|
Neuron b) {
|
||||||
final long aId = a.getIdentifier();
|
final long aId = a.getIdentifier();
|
||||||
|
@ -138,7 +137,6 @@ public class Network
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public Iterator<Neuron> iterator() {
|
public Iterator<Neuron> iterator() {
|
||||||
return neuronMap.values().iterator();
|
return neuronMap.values().iterator();
|
||||||
}
|
}
|
||||||
|
|
|
@ -91,7 +91,6 @@ public class KohonenUpdateAction implements UpdateAction {
|
||||||
/**
|
/**
|
||||||
* {@inheritDoc}
|
* {@inheritDoc}
|
||||||
*/
|
*/
|
||||||
@Override
|
|
||||||
public void update(Network net,
|
public void update(Network net,
|
||||||
double[] features) {
|
double[] features) {
|
||||||
final long numCalls = numberOfCalls.incrementAndGet();
|
final long numCalls = numberOfCalls.incrementAndGet();
|
||||||
|
|
|
@ -68,7 +68,6 @@ public class LearningFactorFunctionFactory {
|
||||||
= new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
|
= new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public double value(long n) {
|
public double value(long n) {
|
||||||
return decay.value(n);
|
return decay.value(n);
|
||||||
}
|
}
|
||||||
|
@ -110,7 +109,6 @@ public class LearningFactorFunctionFactory {
|
||||||
= new QuasiSigmoidDecayFunction(initValue, slope, numCall);
|
= new QuasiSigmoidDecayFunction(initValue, slope, numCall);
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public double value(long n) {
|
public double value(long n) {
|
||||||
return decay.value(n);
|
return decay.value(n);
|
||||||
}
|
}
|
||||||
|
|
|
@ -63,7 +63,6 @@ public class NeighbourhoodSizeFunctionFactory {
|
||||||
= new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
|
= new ExponentialDecayFunction(initValue, valueAtNumCall, numCall);
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public int value(long n) {
|
public int value(long n) {
|
||||||
return (int) FastMath.rint(decay.value(n));
|
return (int) FastMath.rint(decay.value(n));
|
||||||
}
|
}
|
||||||
|
@ -100,7 +99,6 @@ public class NeighbourhoodSizeFunctionFactory {
|
||||||
= new QuasiSigmoidDecayFunction(initValue, slope, numCall);
|
= new QuasiSigmoidDecayFunction(initValue, slope, numCall);
|
||||||
|
|
||||||
/** {@inheritDoc} */
|
/** {@inheritDoc} */
|
||||||
@Override
|
|
||||||
public int value(long n) {
|
public int value(long n) {
|
||||||
return (int) FastMath.rint(decay.value(n));
|
return (int) FastMath.rint(decay.value(n));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue