Class NESTWorkflowToFeatureVector
- java.lang.Object
-
- de.uni_trier.wi2.procake.retrieval.impl.macfac.fb.NESTWorkflowToFeatureVector
-
public class NESTWorkflowToFeatureVector extends Object
Capable of transforming a NESTGraph representation into the feature vector created by Alexander Stromer for his Master thesis in late 2012. Attribute structure and names are fixed, since the transformation has to go according to those variables. See model.xml and sim.xml for featurevector-related samples for more information on how the feature vector should look like.- Author:
- Alexander Stromer
-
-
Field Summary
Fields Modifier and Type Field Description static StringFEATURE_VECTOR_CLASS
-
Constructor Summary
Constructors Constructor Description NESTWorkflowToFeatureVector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AggregateObjectgetFeatureVector(NESTWorkflowObject nestGraph, SimilarityModel similarityModel)Returns the compiled feature vector.
-
-
-
Field Detail
-
FEATURE_VECTOR_CLASS
public static final String FEATURE_VECTOR_CLASS
- See Also:
- Constant Field Values
-
-
Method Detail
-
getFeatureVector
public AggregateObject getFeatureVector(NESTWorkflowObject nestGraph, SimilarityModel similarityModel)
Returns the compiled feature vector. Caches the feature vector if it wasn´t changed since the last request.- Parameters:
nestGraph- the NESTGraphObject to transformsimilarityModel- the sim model- Returns:
- the generated FeatureVector
-
-