Efficiently pricing barrier options in a Markov-switching framework · Study