public class EventMatrix
extends java.lang.Object
Argument Keyword | Datatype | Default | Description |
---|---|---|---|
Filename | String | none | The name of the file to be written. If not specified the implementation will dump the model to stdout. |
TargetRef | String | target | The reference name to the session. |
Modifier and Type | Class and Description |
---|---|
class |
EventMatrix.EventMatrixColumn |
protected class |
EventMatrix.T_LONGLONGComparator
The longlong compartor.
|
Modifier and Type | Field and Description |
---|---|
protected ResultSetExt |
attributes |
protected int |
colCount |
protected EventMatrix.EventMatrixColumn[] |
columns |
protected short[][] |
flags |
protected EventMatrix.T_LONGLONGComparator |
idCompartor |
protected double[] |
range |
protected ResultSetExt |
resultSet |
protected int |
rowCount |
protected T_LONGLONG[] |
valueIds |
protected double[][] |
values |
Constructor and Description |
---|
EventMatrix(T_LONGLONG lcID,
ResultSetExt[] values,
ResultSetExt[] attributes)
Create the matrix with the given values.
|
Modifier and Type | Method and Description |
---|---|
double[] |
createIndependent(double[] range)
Create the independent values according to the given range.
|
double[][] |
createMatrix(java.util.Vector<java.lang.String> nameVec) |
int |
getColumnCount() |
int |
getIndependentForChannel(T_LONGLONG smId,
T_LONGLONG[] smIds,
short[] indep) |
double[] |
getRange() |
protected double[] |
getRange(double[] arr,
short[] flags)
Get the ragne.
|
int |
getRowCount() |
protected void |
init()
Create the columns according to the attribute result set.
|
void |
setRowCount(int rowCount) |
protected T_LONGLONG[] valueIds
protected double[][] values
protected short[][] flags
protected ResultSetExt resultSet
protected ResultSetExt attributes
protected EventMatrix.EventMatrixColumn[] columns
protected EventMatrix.T_LONGLONGComparator idCompartor
protected double[] range
protected int rowCount
protected int colCount
public EventMatrix(T_LONGLONG lcID, ResultSetExt[] values, ResultSetExt[] attributes)
res
- valuesres
- attributes (id, name, independent)protected void init()
public double[][] createMatrix(java.util.Vector<java.lang.String> nameVec)
public int getIndependentForChannel(T_LONGLONG smId, T_LONGLONG[] smIds, short[] indep)
public int getRowCount()
public void setRowCount(int rowCount)
public int getColumnCount()
public double[] getRange()
public double[] createIndependent(double[] range)
protected double[] getRange(double[] arr, short[] flags) throws java.lang.Exception
java.lang.Exception