public static class DistanceIndex.AndFilter extends Object implements DistanceIndex.IndexFilter
Modifier and Type | Field and Description |
---|---|
DistanceIndex.IndexFilter |
left |
DistanceIndex.IndexFilter |
right |
Constructor and Description |
---|
AndFilter(DistanceIndex.IndexFilter left,
DistanceIndex.IndexFilter right) |
Modifier and Type | Method and Description |
---|---|
boolean |
filter(int index)
Returns true if and only if both underlying filters return true.
|
public final DistanceIndex.IndexFilter left
public final DistanceIndex.IndexFilter right
public AndFilter(DistanceIndex.IndexFilter left, DistanceIndex.IndexFilter right)
public boolean filter(int index)
filter
in interface DistanceIndex.IndexFilter
index
- the index of some data point.Copyright (C) 2013-2015 Benjamin Paaßen, Georg Zentgraf, AG Theoretical Computer Science, Centre of Excellence Cognitive Interaction Technology (CITEC), University of Bielefeld, licensed under the AGPL v. 3: http://openresearch.cit-ec.de/projects/tcs . This documentation is licensed under the conditions of CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/