Cofnod E-bost: Function determines structure in complex neural networks