  In this paper, we give an algorithm to determine all local A-packets
containing a given irreducible representation of a p-adic classical group.
Especially, we can determine whether a given irreducible representation is of
Arthur type or not.
