T - filter typepublic class SimpleRegionInspector<F,T,V extends AdditiveValue<V>,R extends Measurable<V>> extends Object implements RegionInspector<F,V>
| Modifier and Type | Method and Description |
|---|---|
Assessment<F,V> |
assess(Pow2LengthBitSetRange indexBitSetRange,
List<Pow2LengthBitSetRange> orthotope)
Currently it computes the overlapping content, and then it figures out if
the orthotope being checked and the query region are disjoint, if the
former is covered by the latter, or if they only overlap.
|
static <F,T,V extends Content<V>,R extends Range<T,V>> |
create(List<? extends List<R>> queryRegion,
V minOverlappingContent,
com.google.common.base.Function<? super R,F> filterFactory,
RangeHome<T,V,R> rangeHome,
V zero) |
int |
getNumberOfDimensions() |
String |
toString() |
public static <F,T,V extends Content<V>,R extends Range<T,V>> SimpleRegionInspector<F,T,V,R> create(List<? extends List<R>> queryRegion, V minOverlappingContent, com.google.common.base.Function<? super R,F> filterFactory, RangeHome<T,V,R> rangeHome, V zero)
T - filter typequeryRegion - set of disjoint orthotopes. If they are not disjoint the
behaviour is undefined.minOverlappingContent - Not null and not zero. If the result would
otherwise be OVERLAP, but the range length is less than this number, then
we return COVERED. That can lead to an artificial increase of the
selectivity of the created query, but it's necessary as a barrier against
query regions with a large measure of order 2.filterFactory - factory of non-null filter objectspublic Assessment<F,V> assess(Pow2LengthBitSetRange indexBitSetRange, List<Pow2LengthBitSetRange> orthotope)
assess in interface RegionInspector<F,V extends AdditiveValue<V>>indexBitSetRange - space filling curve index rangeorthotope - orthotope specification. The caller might reuse this
parameter so no reference should be kept to it by any concrete region
inspector.public int getNumberOfDimensions()
getNumberOfDimensions in interface RegionInspector<F,V extends AdditiveValue<V>>Copyright © 2014. All Rights Reserved.