Machine Learning, NLP, Artificial Intelligence, Machine Intelligence, Tutorial.
sequences # given states - what are the possible combinations # total number of combinations is (number of possible states)^(sequence length) def generate_sequence(states,sequence_length): all_sequences = [] nodes = [] depth = sequence_length def gen_seq_recur(states,nodes,depth): if depth == 0: