public class CirclePerformance extends Object
Circle class.| Modifier and Type | Class and Description |
|---|---|
static class |
CirclePerformance.RandomCircle
Benchmark input providing a source of random
Circle instances. |
static class |
CirclePerformance.ToTreeInput
Class defining input values to the
Circle.toTree(int) method. |
static class |
CirclePerformance.ToTreeInstance
Input class providing a pre-computed bsp tree circle approximation.
|
| Constructor and Description |
|---|
CirclePerformance() |
| Modifier and Type | Method and Description |
|---|---|
RegionBSPTree2D |
toTreeCreation(CirclePerformance.RandomCircle randomCircle,
CirclePerformance.ToTreeInput toTreeInput)
Benchmark testing the performance of the
Circle.toTree(int) method. |
double |
toTreeSize(CirclePerformance.ToTreeInstance toTreeInstance)
Benchmark testing the performance of the computation of the size of the bsp trees
created by the
Circle.toTree(int) method. |
public RegionBSPTree2D toTreeCreation(CirclePerformance.RandomCircle randomCircle, CirclePerformance.ToTreeInput toTreeInput)
Circle.toTree(int) method.randomCircle - circle inputtoTreeInput - toTree input parameterspublic double toTreeSize(CirclePerformance.ToTreeInstance toTreeInstance)
Circle.toTree(int) method.toTreeInstance - bsp tree circle approximation instanceCopyright © 2016–2020 The Apache Software Foundation. All rights reserved.