Teoria spettrale per reti con interazioni attraenti e repulsive