switch( neighborhoodType.getSelectedIndex() )
{
case 0:
return new NeighborhoodRBF1D( new GaussianFunction(0,1,this.rbfWidth.getValue()));
case 1:
return new NeighborhoodRBF1D( new MexicanHatFunction(0,1,this.rbfWidth.getValue()));
case 2:
return new NeighborhoodRBF1D( new MultiquadricFunction(0,1,this.rbfWidth.getValue()));
case 3:
return new NeighborhoodRBF1D( new InverseMultiquadricFunction(0,1,this.rbfWidth.getValue()));
case 4: