The matrix tree theorem for weighted graphs
Seeing this question left me wondering, is it possible to modify the matrix so one can compute the following sum: $$ P'(G) = \sum_{T\subseteq G}{m'(T)} $$ where $m'(T) = \prod_{e \in (E-T)}{\omega_e}$. Is this possible?