
@Description(value="Development result handler that merely logs the structure of the result tree.") public class LogResultStructureResultHandler extends Object implements ResultHandler
-verbose.
TODO: transform this into an evaluator, then visualize, too?| Modifier and Type | Field and Description |
|---|---|
private static Logging |
LOG
Class logger
|
| Constructor and Description |
|---|
LogResultStructureResultHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
processNewResult(ResultHierarchy hier,
Result newResult)
Process a result.
|
private void |
recursiveLogResult(StringBuilder buf,
Hierarchy<Result> hier,
Result result,
int depth)
Recursively walk through the result tree.
|
private static final Logging LOG
public void processNewResult(ResultHierarchy hier, Result newResult)
ResultProcessorprocessNewResult in interface ResultProcessorhier - The base of the result tree.newResult - Newly added result subtree.private void recursiveLogResult(StringBuilder buf, Hierarchy<Result> hier, Result result, int depth)
buf - Output bufferresult - Current resultdepth - DepthCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.