[algorithms][is_valid] make the complement graph vertex id an unsigned
integer (to avoid conversion warnings)