Interface DoubleRelation

    • Method Detail

      • doubleValue

        double doubleValue​(DBIDRef id)
        Get the representation of an object.
        Parameters:
        id - Object ID
        Returns:
        object instance
      • get

        @Deprecated
        default java.lang.Double get​(DBIDRef id)
        Deprecated.
        Description copied from interface: Relation
        Get the representation of an object.
        Specified by:
        get in interface Relation<java.lang.Double>
        Parameters:
        id - Object ID
        Returns:
        object instance
      • set

        void set​(DBIDRef id,
                 double val)
        Set an object representation.
        Parameters:
        id - Object ID
        val - Value
      • forEachDouble

        default void forEachDouble​(DoubleRelation.Consumer action)
        Execute a function for each ID.
        Parameters:
        action - Action to execute