De ned Constraint Satisfaction Problems with Nearest Neighbour Method