Hi, I have been using prolog, and can do certain questions, but I have a question..
Say I have this problem:
+-------------------+
% | Flat 5 | | Flat 6 |
% |--------| |--------|
% | Flat 3 | | Flat 4 |
% |--------| |--------|
% | Flat 1 | | Flat 2 |
% +-------------------+
and I want to say that there is something that exits in the middle, flat 3 and flat 4, how do I say that item exists in the middle. I have got nextto and opposite working, where next to, s that flat 1 is next to flat 3 say and that opposite is flat 1 and flat 2, but I am sorta confused on how to place the middle.....
any ideas?
Say I have this problem:
+-------------------+
% | Flat 5 | | Flat 6 |
% |--------| |--------|
% | Flat 3 | | Flat 4 |
% |--------| |--------|
% | Flat 1 | | Flat 2 |
% +-------------------+
and I want to say that there is something that exits in the middle, flat 3 and flat 4, how do I say that item exists in the middle. I have got nextto and opposite working, where next to, s that flat 1 is next to flat 3 say and that opposite is flat 1 and flat 2, but I am sorta confused on how to place the middle.....
any ideas?