Pattern: MarkovLearner Learn a Markovian sequence by sequentially registering new values and building up a dynamic node graph.