de.lmu.ifi.dbs.elki.algorithm.result
Interface Result<O extends DatabaseObject>
- Type Parameters:
O
- the type of DatabaseObjects handled by this Result
- All Known Subinterfaces:
- ClusteringResult<O>
- All Known Implementing Classes:
- AbstractResult, AprioriResult, Biclustering, CASHResult, CLIQUEModel, ClusterOrder, Clusters, ClustersPlusNoise, ClustersPlusNoisePlusCorrelationAnalysis, CorrelationAnalysisSolution, EMClusters, EMModel, HierarchicalAxesParallelCorrelationClusters, HierarchicalCASHClusters, HierarchicalClusters, HierarchicalCorrelationClusters, KNNDistanceOrderResult, KNNJoinResult, PartitionClusteringResults, PartitionResults, PointerRepresentation, SubspaceClusterModel
public interface Result<O extends DatabaseObject>
Specifies the requirements to a printable result of some algorithm.
- Author:
- Arthur Zimek
Field Summary |
static String |
SEPARATOR
String to separate different entries while printing. |
SEPARATOR
static final String SEPARATOR
- String to separate different entries while printing.
- See Also:
- Constant Field Values
output
void output(File out,
Normalization<O> normalization,
List<AttributeSettings> settings)
throws UnableToComplyException
- Writes the clustering result to the given file.
Clustering result implementations, which are likely to
provide several clusters are supposed to use the filename
as prefix for every file to create and to append a proper suffix.
In case of occuring IOExceptions the output is expected
to be given at the standard-out. Therefore this behaviour
should be also achievable by giving a null-Object as parameter.
- Parameters:
out
- file, which designates the location to write the results,
or which's name designates the prefix of any locations to write the results,
or which could remain null to designate the standard-out as location for output.normalization
- Normalization to restore original values according to, if this action is supported
- may remain null.settings
- the settings to be written into the header, if this parameter is null
,
no header will be written
- Throws:
UnableToComplyException
- if any feature vector is not compatible with values initialized during normalization
output
void output(PrintStream outStream,
Normalization<O> normalization,
List<AttributeSettings> settings)
throws UnableToComplyException
- Writes the clustering result to the given stream.
- Parameters:
outStream
- the stream to write tonormalization
- Normalization to restore original values according to, if this action is supported
- may remain null.settings
- the settings to be written into the header, if this parameter is null
,
no header will be written
- Throws:
UnableToComplyException
- if any feature vector is not compatible with values initialized during normalization