cytoscape.geom.rtree.test
Class RTreeQueryPerformance
java.lang.Object
cytoscape.geom.rtree.test.RTreeQueryPerformance
public class RTreeQueryPerformance
- extends Object
Method Summary |
static void |
main(String[] args)
For given N, creates N rectangles whose centers are in the space
[0,1] X [0,1]. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RTreeQueryPerformance
public RTreeQueryPerformance()
main
public static void main(String[] args)
throws Exception
- For given N, creates N rectangles whose centers are in the space
[0,1] X [0,1]. Each rectangle has width and height no greater
than 1/sqrt(N). The location of the centers of the rectangles
and the choice of width and height for each rectangle is determined
by the input stream, which in most cases will be a randomly generated
stream of bytes. Please see the actual code for an explanation of
how the input stream of bytes is converted into the rectangle
information.
- Throws:
Exception
Copyright 2010 Cytoscape Consortium. All rights reserved.