@Description(value="Setup a scaling so that all dimensions are scaled equally in visualization.") public class AddSingleScale extends java.lang.Object implements Algorithm
Modifier and Type | Class and Description |
---|---|
static class |
AddSingleScale.Parameterizer
Parameterization class.
|
Modifier and Type | Field and Description |
---|---|
(package private) double[] |
minmax
Minimum and maximum to use.
|
Constructor and Description |
---|
AddSingleScale(double[] minmax)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
TypeInformation[] |
getInputTypeRestriction()
Get the input type restriction used for negotiating the data query.
|
Result |
run(Database database)
Runs the algorithm.
|
private ScalesResult |
run(Relation<? extends NumberVector> rel)
Add scales to a single vector relation.
|
public AddSingleScale(double[] minmax)
minmax
- Minimum and maximum valuespublic Result run(Database database)
Algorithm
private ScalesResult run(Relation<? extends NumberVector> rel)
rel
- Relationpublic TypeInformation[] getInputTypeRestriction()
Algorithm
getInputTypeRestriction
in interface Algorithm
Copyright © 2019 ELKI Development Team. License information.