Recognition by FSA DP-Matching -- Density: A Context Parameter of Ad Hoc Networks --