Package it.unibo.alchemist.model.layers
Class BidimensionalGaussianLayer
-
- All Implemented Interfaces:
-
it.unibo.alchemist.model.Layer
,java.io.Serializable
public class BidimensionalGaussianLayer<P extends Position2D<P>> implements Layer<Double, P>
A Layer based on a 2D gaussian function and an optional baseline value.
-
-
Constructor Summary
Constructors Constructor Description BidimensionalGaussianLayer(Double baseline, Double centerX, Double centerY, Double norm, Double sigmaX, Double sigmaY)
BidimensionalGaussianLayer(Double baseline, Double centerX, Double centerY, Double norm, Double sigmaX)
BidimensionalGaussianLayer(Double centerX, Double centerY, Double norm, Double sigmaX)
-
Method Summary
Modifier and Type Method Description final BidimensionalGaussian
getFunction()
The function on which the layer is based. final Double
getCenterX()
final Double
getCenterY()
Double
getValue(P p)
-
-
Constructor Detail
-
BidimensionalGaussianLayer
BidimensionalGaussianLayer(Double baseline, Double centerX, Double centerY, Double norm, Double sigmaX, Double sigmaY)
- Parameters:
centerX
- x coord of the layer's center.centerY
- y coord of the layer's center.
-
BidimensionalGaussianLayer
BidimensionalGaussianLayer(Double baseline, Double centerX, Double centerY, Double norm, Double sigmaX)
- Parameters:
centerX
- x coord of the layer's center.centerY
- y coord of the layer's center.
-
-
Method Detail
-
getFunction
final BidimensionalGaussian getFunction()
The function on which the layer is based.
-
getCenterX
final Double getCenterX()
-
getCenterY
final Double getCenterY()
-
-
-
-