Source: http://web.ntpu.edu.tw/~yshan/book_chapter.pdf