constraint specifi index param idx index constraint return idx link constraint count constraint represent constraint idx represent idx 