Package org.eclipse.epsilon.flexmi
Class AttributeStructuralFeatureAllocator
java.lang.Object
org.eclipse.epsilon.flexmi.AttributeStructuralFeatureAllocator
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Class implementing the Hungarian algorithm for attribute to feature allocation Adapted from https://github.com/amirbawab/Hungarian-Algorithm -
Field Summary
Modifier and TypeFieldDescriptionstatic Map<org.eclipse.emf.ecore.EClass,
StringSimilarityProvider> protected StringSimilarityProvider
-
Constructor Summary
-
Method Summary
-
Field Details
-
eClass2StringSimilarityProvider
public static Map<org.eclipse.emf.ecore.EClass,StringSimilarityProvider> eClass2StringSimilarityProvider -
stringSimilarityProvider
-
-
Constructor Details
-
AttributeStructuralFeatureAllocator
public AttributeStructuralFeatureAllocator() -
AttributeStructuralFeatureAllocator
public AttributeStructuralFeatureAllocator(org.eclipse.emf.ecore.EClass eclass)
-
-
Method Details
-
allocate
public Map<Node,org.eclipse.emf.ecore.EStructuralFeature> allocate(NamedNodeMap attributes, List<org.eclipse.emf.ecore.EStructuralFeature> structuralFeatures) -
allocate
-
removePrefix
-