The metaphor of urban networks as neural networks: some models for territorial restructuring management