This is sometimes said to be a film of the book Peter George's thriller novel "Red Alert" (1958). But in this book Strangelove's character does not appear. It seems the director Stanley Kubrick had intended to use ideas from the book, but as the film developed the influence of tragi-comedy and the genius of Peter Sellers changed its direction.