import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
-import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
/**
* Construct the transformations.
*/
- public TransformationPaths() {
- transformations = new LinkedHashMap<Id<Transformation>, Transformation>();
- vertices = new ArrayList<String>();
- matrix = new TransformationPath[0][0];
- }
-
- public void replaceTransformations(
+ public TransformationPaths(
Map<Id<Transformation>, Transformation> aTransformations) {
transformations = aTransformations;
+ vertices = new ArrayList<String>();
+ matrix = new TransformationPath[0][0];
computeTransformationSequences();
}