|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectBLG
Array implementation of the Douglas-Peucker Binary Line Generalisation Tree
| Constructor Summary | |
BLG()
Creates a new instance of BLG |
|
BLG(java.util.ArrayList list)
Creates a new instance of BLG |
|
BLG(GeoNode root)
Creates a new instance of BLG |
|
| Method Summary | |
java.util.ArrayList |
BLGapproximation(double e)
Performs a search in the BLG-tree and returns an approximation |
GeoNode |
getRoot()
|
int |
getSize()
|
GeoNode |
getStart()
|
GeoNode |
getStop()
|
void |
printString()
Print the tree |
void |
setRoot(GeoNode root)
|
void |
setStart(GeoNode start)
|
void |
setStop(GeoNode stop)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BLG()
public BLG(GeoNode root)
root - The root of the treepublic BLG(java.util.ArrayList list)
list - The list the tree is to be made from| Method Detail |
public GeoNode getRoot()
public int getSize()
public GeoNode getStart()
public GeoNode getStop()
public void setRoot(GeoNode root)
public void setStart(GeoNode start)
public void setStop(GeoNode stop)
public void printString()
public java.util.ArrayList BLGapproximation(double e)
e - The smallest tolerated error value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||