Algorithm Design for Opportunistic Routing Based on State Transition: Algorithm Design for Opportunistic Routing Based on State Transition