operator on generalized metric space