Cytoscape 2.8.0 API

cytoscape.geom.rtree.test
Class RTreeUpdatePerformance

java.lang.Object
  extended by cytoscape.geom.rtree.test.RTreeUpdatePerformance

public class RTreeUpdatePerformance
extends Object


Constructor Summary
RTreeUpdatePerformance()
           
 
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
 

Constructor Detail

RTreeUpdatePerformance

public RTreeUpdatePerformance()
Method Detail

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

Cytoscape 2.8.0 API

Copyright 2010 Cytoscape Consortium. All rights reserved.