|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object QueryProcessor.Skyline.SkylineResultLayer
public class SkylineResultLayer
Class representing a layer of uncomparable images.
Constructor Summary | |
---|---|
SkylineResultLayer(int level)
Basic constructor. |
Method Summary | |
---|---|
void |
addResult(ResultImage image)
Adds an image to this layer. |
java.util.Set<ResultImage> |
getImages()
Returns the set of images in this layer. |
SkylineResultLayer |
getK(int k)
Returns a layer containing a maximum of k images. |
int |
getLevel()
Returns the level of this layer. |
int |
size()
Returns the number of images in this layer. |
ImageID[] |
toArray()
Returns an array containing the IDs of images in this layer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SkylineResultLayer(int level)
level
- Level of this layer.Method Detail |
---|
public void addResult(ResultImage image)
image
- Image to add to the layer.public SkylineResultLayer getK(int k)
k
images.
k
- Number of requested results.
k
images; if less than k
images exist in this layer, all images are returned.public int getLevel()
public int size()
public java.util.Set<ResultImage> getImages()
public ImageID[] toArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |