Class VariableString
java.lang.Object
jwat.VariableNumber
jwat.VariableString
- All Implemented Interfaces:
JWATConstants
String variable of a JWAT workload observation.
-
Field Summary
Fields inherited from class VariableNumber
LOGARITHMIC, mapping, MINMAX, name, NONE, nVar, obsValue, originalValue, SAMPLING, STDEVFields inherited from interface JWATConstants
BUTTONSIZE, DATE, defaultFormat, EXAMPLE_PATH, FITTING_EXPO_PANEL, FITTING_INPUT_PANEL, FITTING_PARETO_PANEL, FUZZYK, HTML_FONT_SMALL, HTML_FONT_TIT_END_NO_CAPO, INPUT_MSG_ABORT, INPUT_MSG_ABORT_WRONG_FORMAT, INPUT_MSG_FAIL, KMEANS, LOG_FILE_NAME, NUMERIC, STRING, TRAFFIC_EPOCH_PANEL, TRAFFIC_GRAPH_PANEL, TRAFFIC_GRAPHARRIVAL_PANEL, TRAFFIC_INPUT_PANEL, TRAFFIC_TEXTUAL_PANEL, WORKLOAD_BIVARIATE_PANEL, WORKLOAD_CLUSTERING_PANEL, WORKLOAD_INFOCLUSTERING_PANEL, WORKLOAD_INPUT_PANEL -
Constructor Summary
ConstructorsConstructorDescriptionVariableString(Observation[] valObs, String vName, int pos, short type, VariableMapping varMapping) -
Method Summary
Modifier and TypeMethodDescriptionint[]getOriginalValue(int Index) Returns Index-th value of the variablegetOriginalValue(int Index, int var) Returns the index-th value of the var-th variable of the observaionMethods inherited from class VariableNumber
applySampling, doClusteringTrasformation, doTransformation, getCurObs, getDimInt, getEndInt, getIndex, getIndex, getIndexMax, getIndexMin, getInterval1000, getIntRange, getIntRangeG, getIntValue, getIntValueG, getMapping, getName, getNextInt, getNumeroObsPerInt, getNumOfTransf, getObsID, getQuantile, getStartInt, getTrasfName, getTrasfStr, getType, getUniStats, getValue, getValue, isSampled, resetSampling, setRangeIntervallo, Size, undoClueringTrasformation, undoLastTrasf, undoSampling, updateOnSampling
-
Constructor Details
-
VariableString
public VariableString(Observation[] valObs, String vName, int pos, short type, VariableMapping varMapping)
-
-
Method Details
-
getOriginalValue
Returns Index-th value of the variable- Parameters:
Index- index of variable's value desired- Returns:
- value of Index-th value
- Throws:
ArrayIndexOutOfBoundsException- throws if Index is < 0 or > numbero of observations
-
getOriginalValue
Returns the index-th value of the var-th variable of the observaion- Parameters:
Index- index of variable's value desiredvar- variable index- Returns:
- index-th value of the var-th variable
- Throws:
ArrayIndexOutOfBoundsException- throws if Index is < 0 or > numbero of observations or var < 0 or > number of variables ( elements of observation )
-
getListOfMatching
-