Neighborhood function, including variable radius and variable degree of connectedness.