This paper presents one of the approaches to solve the collision problem in restricted area for two moving objects using artificial intelligence (SACO algorithm). Although AI should be used only when the classic methods fail, a simple comparison between them is very interesting. As we know the main task of navigation is to conduct safely an object from the point of departure to destination. This problem does not seem easy, especially if we consider the movement in restricted areas such narrow passages, ports etc.
The article presents the problem of choosing a safe route of an object in a restricted area. The ant algorithm is implemented to solve the problem. The presented methodology involves graph design for this algorithm using quad trees. Based on the route planning method developed, a numerical experiment was made and its results are discussed in this paper.