ENH: network comparison functions