|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.result.KMLOutputHandler
@Reference(authors="E. Achtert, A. Hettab, H.-P. Kriegel, E. Schubert, A. Zimek", booktitle="Proc. 12th International Symposium on Spatial and Temporal Databases (SSTD), Minneapolis, MN, 2011", title="Spatial Outlier Detection: Data, Algorithms, Visualizations") public class KMLOutputHandler
Class to handle KML output. Reference:
E. Achtert, A. Hettab, H.-P. Kriegel, E. Schubert, A. Zimek:
Spatial Outlier Detection: Data, Algorithms, Visualizations.
in Proc. 12th International Symposium on Spatial and Temporal Databases
(SSTD), Minneapolis, MN, 2011
Nested Class Summary | |
---|---|
static class |
KMLOutputHandler.Parameterizer
Parameterization class |
Field Summary | |
---|---|
private boolean |
autoopen
Automatically open at the end |
private boolean |
compat
Compatibility mode. |
(package private) File |
filename
Output file name |
static Logging |
logger
Logger class to use. |
private static int |
NUMSTYLES
Number of styles to use (lower reduces rendering complexity a bit) |
(package private) OutlierScalingFunction |
scaling
Scaling function |
Constructor Summary | |
---|---|
KMLOutputHandler(File filename,
OutlierScalingFunction scaling,
boolean compat,
boolean autoopen)
Constructor. |
Method Summary | |
---|---|
private static Color |
getColorForValue(double val)
|
private StringBuffer |
makeDescription(Collection<Relation<?>> relations,
DBID id)
Make an HTML description. |
void |
processNewResult(HierarchicalResult baseResult,
Result newResult)
Process a result. |
private void |
writeKMLData(XMLStreamWriter out,
OutlierResult outlierResult,
Database database)
|
private void |
writeNewlineOnDebug(XMLStreamWriter out)
Print a newline when debugging. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Logging logger
private static final int NUMSTYLES
File filename
OutlierScalingFunction scaling
private boolean compat
private boolean autoopen
Constructor Detail |
---|
public KMLOutputHandler(File filename, OutlierScalingFunction scaling, boolean compat, boolean autoopen)
filename
- Output filenamescaling
- Scaling functioncompat
- Compatibility modeautoopen
- Automatically openMethod Detail |
---|
public void processNewResult(HierarchicalResult baseResult, Result newResult)
ResultProcessor
processNewResult
in interface ResultProcessor
baseResult
- The base of the result tree.newResult
- Newly added result subtree.private void writeKMLData(XMLStreamWriter out, OutlierResult outlierResult, Database database) throws XMLStreamException
XMLStreamException
private StringBuffer makeDescription(Collection<Relation<?>> relations, DBID id)
relations
- Relationsid
- Object ID
private void writeNewlineOnDebug(XMLStreamWriter out) throws XMLStreamException
out
- Output XML stream
XMLStreamException
private static final Color getColorForValue(double val)
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |