|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.tuwien.ifs.somtoolbox.visualization.thematicmap.RegionManager
public class RegionManager
Field Summary | |
---|---|
static int |
BORDER
|
(package private) SOMLibClassInformation |
classInfo
|
static int |
DEFAULT_ZOOM_FACTOR
|
(package private) int |
height
|
(package private) int |
initialSize
|
(package private) edu.cornell.cs.voronoi.Simplex |
initialTriangle
|
(package private) edu.cornell.cs.voronoi.DelaunayTriangulation |
mainDt
|
(package private) double |
min_visible_class
|
private org.jfree.util.PaintList |
paintList
|
(package private) ArrayList<SOMRegion> |
regions
|
(package private) edu.cornell.cs.voronoi.DelaunayTriangulation |
resolvedDt
|
(package private) int |
width
|
private int |
zoom
|
Constructor Summary | |
---|---|
RegionManager(SOMLibClassInformation classInfo,
org.jfree.util.PaintList paintList,
int width,
int height,
double min_visible_class)
|
|
RegionManager(SOMLibClassInformation classInfo,
org.jfree.util.PaintList paintList,
int width,
int height,
double min_visible_class,
int zoom)
Creates a new instance of SOMegions |
Method Summary | |
---|---|
SOMRegion |
addNewRegion(Unit unit)
|
void |
build()
|
void |
build(ArrayList<SOMRegion> regions,
edu.cornell.cs.voronoi.DelaunayTriangulation dt)
|
void |
cut()
|
void |
drawDelaunayTrangulation(Graphics2D g)
|
void |
drawRegions(Graphics2D g)
|
void |
fillRegions(Graphics2D g,
boolean chessboard)
|
void |
fillSingleRegion(Graphics2D g,
boolean chessboard,
int ClassID)
Fills SOMRegions according to the specified ClassID. |
SOMRegion |
getMaximumEntropyRegion()
Goes through all the Regions and returns the Region with smallest Entropy Error. |
SOMRegion |
getMinimumEntropyRegion()
Goes through all the Regions and returns the Region with biggest Entropy Error. |
SOMRegion |
getRegion(ArrayList<SOMRegion> candidates,
double x,
double y)
|
SOMRegion |
getRegion(ArrayList<SOMRegion> candidates,
edu.cornell.cs.voronoi.Pnt center)
|
ArrayList<SOMRegion> |
getRegions()
|
void |
removeRegion(SOMRegion r)
|
void |
resetResolvingState()
Allows to reset the resolved state, for reusing the diagram. |
void |
resolve()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BORDER
public static final int DEFAULT_ZOOM_FACTOR
private int zoom
int initialSize
int width
int height
ArrayList<SOMRegion> regions
edu.cornell.cs.voronoi.Simplex initialTriangle
edu.cornell.cs.voronoi.DelaunayTriangulation mainDt
edu.cornell.cs.voronoi.DelaunayTriangulation resolvedDt
SOMLibClassInformation classInfo
double min_visible_class
private org.jfree.util.PaintList paintList
Constructor Detail |
---|
public RegionManager(SOMLibClassInformation classInfo, org.jfree.util.PaintList paintList, int width, int height, double min_visible_class)
public RegionManager(SOMLibClassInformation classInfo, org.jfree.util.PaintList paintList, int width, int height, double min_visible_class, int zoom)
Method Detail |
---|
public SOMRegion getRegion(ArrayList<SOMRegion> candidates, double x, double y)
public SOMRegion getRegion(ArrayList<SOMRegion> candidates, edu.cornell.cs.voronoi.Pnt center)
public SOMRegion addNewRegion(Unit unit)
public void removeRegion(SOMRegion r)
public void drawRegions(Graphics2D g)
public void drawDelaunayTrangulation(Graphics2D g)
public void fillRegions(Graphics2D g, boolean chessboard)
public void fillSingleRegion(Graphics2D g, boolean chessboard, int ClassID)
public void build()
public void cut()
public void build(ArrayList<SOMRegion> regions, edu.cornell.cs.voronoi.DelaunayTriangulation dt)
public void resolve()
public void resetResolvingState()
public SOMRegion getMaximumEntropyRegion()
public SOMRegion getMinimumEntropyRegion()
public ArrayList<SOMRegion> getRegions()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |