The university's computer scientists used social science methods to assess community reaction in an experiment examining “mass” reactions to events on social media whilst also homing in on specific incidents as they were unfolding on the ground.

Professor Martin Innes said, ““In some ways, this was reminiscent of the “Olympic effect”: negativity beforehand, but more positivity as the event began.”

The security operation surrounding this week's NATO Summit has been described today as a 'feather in the cap' for Gwent Police.

As nearly ten thousand officers were drafted in from across the UK make their way home, and the vast ring of steel continues to be dismantled, senior staff have hailed it a big success, as Tom Sheldrick reports.

The Police and Crime Commissioner (PCC) for Gwent has praised police for their work during the security operation at this week's NATO Summit in Newport.

Gwent Police led the operation - one of the biggest ever undertaken in the UK.

A total of 31 arrests were made over the week, for offences such as trespassing and assaulting police.

Over 9,500 officers and staff were drafted in from 43 Forces for the event, which posed a bigger challenge than the London 2012 Olympics.

It saw police collaborate with intelligence agencies and military personnel to ensure the safety of sixty world leaders and their staff, as well as the public.

Gwent Police and Crime Commissioner Ian Johnston said it was a 'feather in the cap' for Gwent Police.

Every single police officer, staff member and volunteer from all over the UK who worked during the summit and in the build up to it can be proud of themselves. Their hard work and effort ensured this historic and momentous occasion for Gwent and Wales ran so smoothly.

– Ian Johnston, Gwent PCC

The response from the public has also been described as very positive.

Assistant Chief Constable Chris Armitt, who led the policing operation has thanked local residents.

Wales has been in the headlines for all the right reasons and I'm proud of the part the police service has played in delivering a safe summit.

We would like to thank residents from across South Wales for their cooperation throughout the NATO Summit period. Their support has been very important and has helped ensure the success of the policing operation.