A cellular learning automata based algorithm for detecting community structure in complex networks