|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object databionics.esom.tool.AbstractTool databionics.esom.tool.similarity.SimilarityTool
public class SimilarityTool
tool for getting bestmatches from one district
Field Summary |
---|
Fields inherited from class databionics.esom.tool.AbstractTool |
---|
application, bottomBar, bottomTab, btnClear, btnLoad, btnPaint, btnSave, clearItm, clickMode, controlButton, creatorPanel, dataTable, dataTableModel, displayPanel, dragMode, drawing, fileMenu, filename, gui, loader, loadItm, log, moveCallback, pnlControl, polygonMode, popMenu, removeItm, renderer, renderPanel, saveItm, toolBar, toolRenderer |
Constructor Summary | |
---|---|
SimilarityTool(boolean gui,
Application application)
|
Method Summary | |
---|---|
static cern.colt.list.IntArrayList |
getFriends(RectangularGrid grid,
BMFile bms,
int x,
int y,
int elements)
returns n-bms with shortest distance to given bm |
static cern.colt.list.IntArrayList |
getNearestOnMap(RectangularGrid grid,
BMFile bms,
int xpos,
int ypos,
int elements)
returns n-bms with shortest u-way to given bm |
static cern.colt.list.IntArrayList |
getNeighbours(RectangularGrid grid,
BMFile bms,
int xpos,
int ypos,
int elements)
returns n-bms in the neighborhood of given bm |
java.lang.String |
getShortTitle()
|
void |
init()
Initialize what needs to be Initialized. |
void |
reset()
reset the tool. |
Methods inherited from class databionics.esom.tool.AbstractTool |
---|
actionPerformed, callback, getApplication, getBottomTab, getCallback, getControlButton, getCreatorPanel, getDataTable, getDataTableModel, getDisplayPanel, getFileMenu, getFilename, getLoader, getMessage, getMoveCallback, getPnlControl, getPopMenu, getRenderer, getToolBar, getToolRenderer, initGui, isClickMode, isDragMode, isDrawing, isGui, isPolygonMode, moveSelection, reAreas, reColorize, reDraw, reFore, reMask, rePostFore, rePreFore, reRender, reTile, reZoom, select, setApplication, setBottomTab, setCallback, setClickMode, setControlButton, setCreatorPanel, setCtrlAccelerator, setDataTable, setDataTableModel, setDisplayPanel, setDragMode, setDrawing, setFilename, setLoader, setMoveCallback, setPolygonMode, setRenderer, setToolBar, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimilarityTool(boolean gui, Application application)
gui
- application
- Method Detail |
---|
public static cern.colt.list.IntArrayList getNearestOnMap(RectangularGrid grid, BMFile bms, int xpos, int ypos, int elements)
grid
- bms
- xpos
- ypos
- elements
-
public static cern.colt.list.IntArrayList getNeighbours(RectangularGrid grid, BMFile bms, int xpos, int ypos, int elements)
grid
- bms
- xpos
- ypos
- elements
-
public static cern.colt.list.IntArrayList getFriends(RectangularGrid grid, BMFile bms, int x, int y, int elements)
grid
- bms
- x
- y
- elements
- distanceFunction
-
public void init()
AbstractTool
init
in class AbstractTool
public void reset()
AbstractTool
reset
in class AbstractTool
public java.lang.String getShortTitle()
getShortTitle
in class AbstractTool
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |