
165
2004a, 2006a, Radzik 2000). The matrix game R
includes the values determined previ-
ously on the basis of data taken from an anti-
collision system ARPA the value a collision risk r
j
with regard to the determined strategies ν
0
of the
own ship and those ν
j
of the j-th encountered objects.
The matrix risk contains the same number of col-
umns as the number of participant I (own ship) strat-
egies and the number of lines which correspond to a
joint number of participant II (j objects) strategies
(Fig. 2).
Figure 2. Navigational situation representing the passing of the
own ship with the j-th object.
The value of the risk of the collision r
j
is defined
as the reference of the current situation of the ap-
proach described by the parameters
and
,
to the assumed assessment of the situation defined as
safe and determined by the safe distance of approach
D
s
and the safe time T
s
– which are necessary to exe-
cute a manoeuvre avoiding a collision with consid-
eration actual distance D
j
between own ship and en-
countered j-th ship:
2
1
2
s
j
2
s
j
min
2
2
s
j
min
1j
D
D
T
T
w
D
D
wr
−
+
+
=
(7)
where the weight coefficients (w
1
, w
2
) are depended
on the state visibility at sea, dynamic length and dy-
namic beam of the ship, kind of water region.
The constraints affecting the choice of strategies
(ν
0
, ν
j
) are a result of COLREG recommendations.
Player I may use
ν
0
of various pure strategies in a
matrix game and player II has
ν
j
of various pure
strategies.
As the game, most frequently, does not have sad-
dle point the state of balance is not guaranteed –
there is a lack of pure strategies for both players in
the game. The problem of determining an optimal
strategy may be reduced to the task of solving dual
linear programming problem. Mixed strategy com-
ponents express the distribution of probability
of using pure strategies by the players.
As a result of using the following form for the steer-
ing criterion:
(8)
the probability matrix P
=
[p
j
(ν
j
, ν
0
)] of using particu-
lar pure strategies may be obtained.
The solution for the steering goal is the strategy
of the highest probability:
( )
{ }
max0jjo0
)],(p[uu
00
νν
νν
=
∗
(9)
Using the function of lp – linear programming
from the Optimisation Toolbox Matlab, the matrix
multi-step game manoeuvring MG program has been
designed for the determination of the own ship safe
trajectory in a collision situation (Cichuta 2000).
2.4 Algorithm of dynamic optimisation DO
The description of the own ship dynamic allows for
the following representation of the state equations in
a discrete form:
21ik,ik,i1k,i
+
(10)
where x
1
=X
0
, x
2
=Y
0
, x
3
=
, x
4 =
,
x
5
=V, x
6
=
,
x
7
=t, u
1
=
, u
2
=n
r /
n
max
The basic criterion for the ship's control is to en-
sure safe passing of the objects, which is considered
in the state constraints:
(11)
This dependence is determined by the area ship's
domain of the collision hazard and which assumes
the form of a circle, parable, ellipse or hexagon (Ba-
ba 2001, Lisowski 2000b).
The ships domains may have a permanent or var-
iable shapes generated, for example, by Neural Net-
work Toolbox Matlab. Moreover, a criterion of op-
timisation is taken into consideration in the form of
smallest possible way loss for safe passing of the ob-
jects, which, at a constant speed of the own ship,
leads to the time-optimal control: