* @param type The RBF type to use.
*/
public NeighborhoodRBF(final int[] size, final RBFEnum type) {
switch (type) {
case Gaussian:
this.rbf = new GaussianFunction(size.length);
break;
case InverseMultiquadric:
this.rbf = new InverseMultiquadricFunction(size.length);
break;
case Multiquadric: