Interface LinkFeatureAppender
-
public interface LinkFeatureAppenderResponsible for appending features given a specific graph. Instances should not be reused between different graphs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description voidappendFeatures(long source, long target, double[] linkFeatures, int offset)Adds additional features to linkFeaturesintdimension()default booleanisSymmetric()
-
-
-
Method Detail
-
appendFeatures
void appendFeatures(long source, long target, double[] linkFeatures, int offset)Adds additional features to linkFeatures- Parameters:
linkFeatures- features for the pair (source, target)offset- the start offset in each double[] where the features should be added
-
dimension
int dimension()
- Returns:
- the number of entries to append in to the existing features
-
isSymmetric
default boolean isSymmetric()
-
-