Its a big label
got a more specific problem?
Generally they involve populating some kind of matrix and then calculating scores for various generated sequences of manipulations, then choosing the one with the best score.
Pretty fluffy, huh.
More info is required on your problem domain.
"Whenever you find you are on the side of the majority, it is time to pause and reflect" --Mark Twain
"The significant problems we face cannot be solved at the same level of thinking we were at when we created them." --Albert Einstein
"This is still a dangerous world. It's a world of madmen and uncertainty and potential mental losses." --George W. Bush