A Network Classification Method based on Density Time Evolution Patterns Extracted from Network Automata