Event definition for stability preservation in bio-inspired cognitive crowd monitoring