pseudocode for Dead-end Elimination

for each position i for each rotamer s at i for each candidate rotamer r at i X←E(is)-E(ir) for all rotamers t at position j, j¹i Y←min[E(is,jt)-E(ir,jt)] end X←X+Y if(X>0) exclude is and return end end end  

Advertisements