functions in complex networks