protected static class C99.Region
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected int |
area |
protected int |
end |
protected C99.Region |
left |
protected C99.Region |
right |
protected int |
start |
(package private) double |
sum |
Constructor and Description |
---|
C99.Region(int start,
int end,
double[][] m)
Construct a new region with boundaries start and end.
|
Modifier and Type | Method and Description |
---|---|
static void |
bestBoundary_max(double[][] m,
C99.Region r)
Find a boundary that maximizes the inside density.
|
protected int start
protected int end
protected int area
double sum
protected C99.Region left
protected C99.Region right
public C99.Region(int start, int end, double[][] m)
start
- Starting point.end
- Ending point.m
- Similarity matrix.public static void bestBoundary_max(double[][] m, C99.Region r)
m
- Similarity matrix.r
- region.