DFA for memory characterization in forest dynamics