Learning solutions to senseless violence