Taking the above two steps, it avoids updating and sorting the importance of each sentence pair that the selected sentence pair can reach through a connected path.
the relationship between sentence pairs, and the importance will be updated dynamically during the selection.