com.groupbyinc.flux.common.apache.lucene.spatial.bbox.BBoxOverlapRatioValueSource.class Maven / Gradle / Ivy
???? 4 ? Qcom/groupbyinc/flux/common/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource Ocom/groupbyinc/flux/common/apache/lucene/spatial/bbox/BBoxSimilarityValueSource BBoxOverlapRatioValueSource.java isGeo Z queryExtent CLcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle; queryArea D
minSideLength queryTargetProportion $assertionsDisabled ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial/ShapeValuesSource;ZLcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle;DD)V G(Lcom/groupbyinc/flux/common/apache/lucene/spatial/ShapeValuesSource;)V
Acom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle getWidth ()D getHeight ! calcArea (DD)D # $
%
' ) java/lang/AssertionError + ()V -
, . Bcom/groupbyinc/flux/common/apache/lucene/spatial/ShapeValuesSource 0
2 "java/lang/IllegalArgumentException 4 +queryTargetProportion must be >= 0 and <= 1 6 (Ljava/lang/String;)V 8
5 9 this SLcom/groupbyinc/flux/common/apache/lucene/spatial/bbox/BBoxOverlapRatioValueSource; rectValueSource DLcom/groupbyinc/flux/common/apache/lucene/spatial/ShapeValuesSource; ?(Lcom/groupbyinc/flux/common/apache/lucene/spatial/ShapeValuesSource;Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle;)V??
B equals (Ljava/lang/Object;)Z D E
F java/lang/Double H compare (DD)I J K
I L java/lang/Object N
O F o Ljava/lang/Object; that hashCode ()I T U
V
O V doubleToLongBits (D)J Y Z
I [ result I temp J similarityDescription ()Ljava/lang/String; java/lang/StringBuilder c
d . toString f b
O g append -(Ljava/lang/String;)Ljava/lang/StringBuilder; i j
d k , m (D)Ljava/lang/StringBuilder; i o
d p
d g score s(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle;Ljava/util/concurrent/atomic/AtomicReference;)D getMaxY u v java/lang/Math x min z $
y { getMinY } ~ max ? $
y ? No intersection ? ;com/groupbyinc/flux/common/apache/lucene/search/Explanation ? noMatch ?(Ljava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ? ?
? ? +java/util/concurrent/atomic/AtomicReference ? set (Ljava/lang/Object;)V ? ?
? ? getCrossesDateLine ()Z ? ? ? getMinX ? ? getMaxX ? ? abs (D)D ? ?
y ?@f? @v? relate ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Shape;)Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/SpatialRelation; ? ? ? Gcom/groupbyinc/flux/common/locationtech/spatial4j/shape/SpatialRelation ?
intersects ? ?
? ? (D)V ?
, ?
(minSide= ? ) ? ? java/lang/String ? getClass ()Ljava/lang/Class; ? ?
O ? java/lang/Class ?
getSimpleName ? b
? ? : queryFactor + targetFactor ? IntersectionArea ? width ? match ?(FLjava/lang/String;[Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation;)Lcom/groupbyinc/flux/common/apache/lucene/search/Explanation; ? ?
? ? height ?
queryFactor ? ratio ? area of ? -(Ljava/lang/Object;)Ljava/lang/StringBuilder; i ?
d ? targetFactor ? left right qryWestLeft qryWestRight qryEastLeft qryEastRight a b
queryRatio targetRatio minSideDesc Ljava/lang/String; target exp lLjava/util/concurrent/atomic/AtomicReference; -Ljava/util/concurrent/atomic/AtomicReference; top bottom intersectionArea
targetArea desiredAssertionStatus ? ?
? ? Code LocalVariableTable LineNumberTable
StackMapTable LocalVariableTypeTable Signature ?(Lcom/groupbyinc/flux/common/locationtech/spatial4j/shape/Rectangle;Ljava/util/concurrent/atomic/AtomicReference;)D
SourceFile !
? ? _*+? *? *? *-? **-? -? " ? &? (? *? *? (?? ? ,Y? /?*? 3??
??
? 5Y7? :?? ? > _ ; <