product of an even number of transpositions, odd otherwise. Note that no permutation
can be odd and even at the same time [17, Theorem 7.1.1]. The set of even permuta-
tions forms another group, the alternating group An≤Sn. Since any m-cycle can be
equivalently expressed as the product of m−1transpositions, m-cycles with even m
are not elements of An.
A permutation group Gis k-transitive if for all pairs of k-tuples (x1, . . . , xk),
(y1, . . . , yk), there exists a permutation σ∈Gsuch that σ(xi) = yi,1≤i≤k. In
case of 1-transitivity we simply say that Gis transitive.
Ablock is a non-empty subset B⊆Xsuch that for each permutation σ, either
σ(B) = Bor σ(B)∩B=∅. Singleton sets and the entire set Xare trivial blocks.
Permutation groups that contain only trivial blocks are primitive.
2.3 Multi-Agent Pathfinding
Given a graph G= (V, E)and a set of agents Rsuch that |R|≤|V|, we say that
the injective function S:R→Vis a multi-agent pathfinding (MAPF) state (or simply
state) over Rand G. Any node not occupied by an agent, i.e., a node v∈V−S(R),
is called blank.
Amulti-agent pathfinding (MAPF) instance is then a tuple hG, R, I, T iwith G
and Ras above and Iand TMAPF states. A simple move of agent rfrom node uto
node v, in symbols m=hr, u, vi, transforms a given state S, where we need to have
{u, v} ∈ E,S(r) = uand vis a blank, into the successor state S[m], which is identical
to Sexcept at the point r, where S[m](r) = v.
If there exists a (perhaps empty) sequence of simple moves, a movement plan, that
transforms Sinto S0, we say that S0is reachable from S. The MAPF problem is then
to decide whether Tis reachable from I.
The MAPF problem is often defined in terms of parallel or train-like movements
[23, 26], where one step consists of parallel non-interfering moves of many agents.
However, as long as we are interested only in solution existence and polynomial bounds,
there is no difference between the MAPF problems with parallel and sequential move-
ments. If we allow for synchronous rotations [24, 32, 33], where one assumes that all
agents in a fully occupied cycle can move synchronously, things are a bit different. In
this case, even if there are no blanks, agents can move. A rotation is a set of simple
moves M={hr1, u1, v1i, . . .,hrk, uk, vki}, where k≥3, with (1) {ui, vi} ∈ Efor
1≤i≤k, (2) ui6=ujfor 1≤i < j ≤k, (3) vi=ui+1 for 1≤i < k, and vk=u1.
Such a rotation Mis executable in Sif S(ri) = uifor 1≤i≤k. The successor state
S[M]of a given state Sis identical to Sexcept at the points r1, . . . , rk, where we have
S[M](ri) = vi.
Multi-agent pathfinding on directed graphs (diMAPF) is similar to MAPF, except
that we have a directed graph and the moves have to follow the direction of an arc, i.e.,
if there is an arc (u, v)∈Abut (v, u)6∈ A, then an agent can move from uto vbut
not vice versa. Since on directed graphs there are also cycles of size two, one may also
allow rotations on only two nodes, contrary to the definition of rotations on undirected
graphs. In the following, we consider both possibilities, allowing or prohibiting rota-
tions of size 2, and show that it does not make a difference when it comes to bounding
movement plans polynomially.
5