Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for(v <- X(i).iterator){
- //print(v + " ")
- for(n <- neighbours){
- if(X(n).value == v || Math.abs(X(n).value - v) != 1) {
- // print("->REM ")
- X(i).removeValue(v)
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement