Framework for a network model of heterosis