Resistive lattice

Is there a general algorithm for solving resistive circuits?