Class WrappedRangeDBIDByLookup<O>

    • Field Detail

      • relation

        private Relation<? extends O> relation
        Data relation.
    • Constructor Detail

      • WrappedRangeDBIDByLookup

        private WrappedRangeDBIDByLookup​(Relation<? extends O> relation,
                                         RangeSearcher<O> inner)
        Constructor.
        Parameters:
        relation - data relation
        inner - inner radius searcher
    • Method Detail

      • wrap

        public static <O> RangeSearcher<DBIDRef> wrap​(Relation<? extends O> relation,
                                                      RangeSearcher<O> inner)
        Wrap a query, if not null.
        Type Parameters:
        O - inner data type
        Parameters:
        relation - Relation to get object from
        inner - inner query
        Returns:
        wrapped query, or null if inner was null