Interface LinkFeatureAppender


  • public interface LinkFeatureAppender
    Responsible for appending features given a specific graph. Instances should not be reused between different graphs.
    • 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()