public class CalculateHistogram extends CalculationPart<Histogram,FeatureInputStack>
Constructor and Description |
---|
CalculateHistogram(int energyIndex) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
protected Histogram |
execute(FeatureInputStack input)
This performs the actual calculation when needed.
|
int |
hashCode() |
getOrCalculate, hasCachedResult, invalidate
protected Histogram execute(FeatureInputStack input) throws FeatureCalculationException
CalculationPart
CalculationPart.invalidate()
is called.execute
in class CalculationPart<Histogram,FeatureInputStack>
input
- the input to the calculation.FeatureCalculationException
- if the calculation cannot be successfully completed.public boolean equals(Object o)
equals
in class CalculationPart<Histogram,FeatureInputStack>
protected boolean canEqual(Object other)
public int hashCode()
hashCode
in class CalculationPart<Histogram,FeatureInputStack>
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.