|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.ericsson.tic.vi.Data
public class Data
Defines a set of data points.
| Field Summary | |
|---|---|
Category |
category
The category set this data belongs to. |
float[][] |
colors
A tuple of color triples which define start and end points in a gradient. |
int |
dimension
How many dimension the data has besides Node/Rel x Category. |
int |
id
The id of this data. |
float |
max
The assumed max value for this data. |
private float |
maxMinusMin
max - min |
float |
min
The assumed min value for this data. |
String |
name
The name of this data. |
NodeType |
nodeType
The type of node which this data is tied to. |
String |
parseName
The name used to identify this data in the indata. |
int |
parseStrat
Determines which parsing strategy to use in Parser.java. |
int |
set
The set which this data belongs to. |
static int |
SET_NODES
Set nodes. |
static int |
SET_REL
Set relations. |
long[][] |
timeStamp
A set of timestamps. |
float[][][] |
value
A set of values. |
float[][][] |
vn
A set of normalized values. |
| Constructor Summary | |
|---|---|
Data(int id,
String name,
String parseName,
int set,
Category category,
int parseStrat,
int dimension,
NodeType nodeType,
float max,
float min,
float[][] colors)
Creates a set of data points. |
|
| Method Summary | |
|---|---|
void |
normalizeValue(int i1,
int i2)
Normalizes the value in value and writes this to vn. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SET_NODES
public static final int SET_REL
public int id
public int set
public int dimension
public NodeType nodeType
public int parseStrat
public Category category
public String name
public float max
public float min
public String parseName
private float maxMinusMin
public float[][][] value
public long[][] timeStamp
public float[][][] vn
public float[][] colors
| Constructor Detail |
|---|
public Data(int id,
String name,
String parseName,
int set,
Category category,
int parseStrat,
int dimension,
NodeType nodeType,
float max,
float min,
float[][] colors)
id - The id of this data.name - The name of this data.parseName - The name used to identify this data in the indata.set - The set which this data belongs to.category - The category set this data belongs to.parseStrat - The parsing strategy (see VI.java and Parser.java)dimension - How many dimension the data has besides Node/Rel x Category.nodeType - The type of node which this data is tied to.
nodeType.id = 0 is reserved for all nodes.max - The assumed max value for this data.min - The assumed min value for this data.colors - A tuple of color triples which define start and end
points in a gradient.| Method Detail |
|---|
public void normalizeValue(int i1,
int i2)
i1 - Index 1 for value (see fields)i2 - Index 2 for value (see fields)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||