Who does kagome end up with?

In Inuyasha the final acts, episode 26, after Kogames 3 year absence from the feudal era she returns. Kogame and Inuyasha gets married.