public abstract class AbstractGraphMatrix<N,E> extends AbstractSparseGenericMatrix2D<E> implements GraphMatrix<N,E>
guiObject, sizechol, divideMatrix, divideScalar, eig, Factory, inv, lu, minusMatrix, minusScalar, mtimes, plusMatrix, plusScalar, qr, solve, svd, timesMatrix, timesScalar, transposeALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, ZDIMENSIONMETADATADESCRIPTIONFactoryFactory| Constructor and Description |
|---|
AbstractGraphMatrix() |
| Modifier and Type | Method and Description |
|---|---|
Iterable<long[]> |
availableCoordinates()
Returns an Iterator that only goes over the coordinates in the Matrix
that are stored.
|
boolean |
containsCoordinates(long... coordinates)
Determines if the given Coordinates are part of the Matrix.
|
int |
getChildCount(N node) |
List<Long> |
getChildIndices(N node) |
List<N> |
getChildren(long index) |
List<N> |
getChildren(N node) |
int |
getDegree(long nodeIndex) |
int |
getDegree(N node) |
E |
getEdge(N node1,
N node2) |
List<E> |
getEdgesToChildren(N node) |
List<E> |
getEdgesToParents(N node) |
long |
getIndexOfNode(N o) |
E |
getObject(int row,
int column) |
E |
getObject(long row,
long column) |
int |
getParentCount(N node) |
List<Long> |
getParentIndices(N node) |
List<N> |
getParents(long index) |
List<N> |
getParents(N node) |
long[] |
getSize() |
long |
getValueCount() |
boolean |
isConnected(long node1,
long node2) |
boolean |
isConnected(N node1,
N node2) |
void |
setObject(E value,
int row,
int column) |
void |
setObject(E value,
long row,
long column) |
getDimensionCount, getObject, setObjectisSparsegetAsObject, setAsObjectabs, addMissing, allCoordinates, allValues, and, and, append, appendHorizontally, appendVertically, atimes, bigDecimalValue, bigIntegerValue, booleanValue, bootstrap, bootstrap, ceil, center, charValue, chebyshevDistanceTo, chol, clone, compareTo, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, convert, convertEncoding, corrcoef, cos, cosh, cosineSimilarity, cosineSimilarityTo, countMissing, cov, cumprod, cumsum, dateValue, delete, delete, delete, deleteColumns, deleteColumns, deleteColumnsWithMissingValues, deleteRows, deleteRows, deleteRowsWithMissingValues, det, diag, diff, discretize, discretize, discretizeToBoolean, discretizeToColumns, divide, divide, divide, divide, doubleValue, eig, eigSymm, eq, eq, equals, equalsAnnotation, equalsContent, euklideanDistance, euklideanDistanceTo, exp, exportTo, extractAnnotation, eye, fadeIn, fadeOut, fill, fireValueChanged, fireValueChanged, fireValueChanged, flipdim, floatValue, floor, ge, ge, getAbsoluteValueMean, getAbsoluteValueSum, getAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsByteArray, getAsChar, getAsDate, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsShort, getAsString, getColumnCount, getColumnForLabel, getColumnLabel, getColumnList, getCoordinatesOfMaximum, getCoordinatesOfMinimum, getCoreObjectId, getDescription, getDimensionLabel, getDimensionMetaData, getEuklideanValue, getFactory, getGUIObject, getId, getLabel, getLabelObject, getMaxValue, getMeanValue, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getMinValue, getPositionForLabel, getPreferredObject, getRMS, getRowCount, getRowForLabel, getRowLabel, getRowList, getSize, getStdValue, getValueSum, getValueType, getZCount, ginv, grayScale, gt, gt, importFrom, impute, includeAnnotation, indexOfMax, indexOfMin, intValue, inv, invSPD, invSymm, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSPD, isSquare, isSymmetric, isTransient, le, le, log, log10, log2, logistic, longValue, lowerCase, lt, lt, lu, manhattenDistance, manhattenDistanceTo, max, mean, min, minkowskiDistance, minkowskiDistanceTo, minus, minus, minus, minus, mtimes, mtimes, mutualInf, nans, ne, ne, nonZeroCoordinates, norm1, norm2, normalize, normF, normInf, not, ones, or, or, pairedTTest, pdet, pinv, pinv, plus, plus, plus, plus, power, power, princomp, prod, qr, rand, randn, rank, removePunctuation, removeWords, replace, replaceMissingBy, replaceRegex, replaceRegex, reshape, round, save, save, select, select, select, selectColumns, selectColumns, selectedCoordinates, selectedCoordinates, selectRows, selectRows, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsByteArray, setAsChar, setAsDate, setAsDouble, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsShort, setAsString, setColumnLabel, setContent, setDescription, setDimensionLabel, setDimensionMetaData, setId, setLabel, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabel, setSize, share, share, showGUI, shuffle, sign, sin, sinh, solve, solveSPD, solveSymm, sortrows, sqrt, squeeze, standardize, std, stem, stringValue, subMatrix, sum, svd, svd, swap, tan, tanh, tanh, tfIdf, times, times, times, times, toBigDecimalArray, toBigDecimalMatrix, toBigIntegerArray, toBigIntegerMatrix, toBooleanArray, toBooleanMatrix, toByteArray, toByteMatrix, toCharArray, toCharMatrix, toColumnVector, toDateArray, toDoubleArray, toDoubleMatrix, toFloatArray, toFloatMatrix, toHtml, toIntArray, toIntMatrix, toListMatrix, toLongArray, toLongMatrix, toMapMatrix, toObjectArray, toObjectMatrix, toRowVector, toSetMatrix, toShortArray, toShortMatrix, toString, toStringArray, toStringMatrix, trace, translate, transpose, transpose, transpose, tril, triu, unique, uniqueValueCount, upperCase, var, xor, xor, zerosbyteValue, shortValuefinalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddNode, getChildCount, getChildIndices, getEdge, getEdgeCount, getNode, getNodeCount, getNodeList, getParentCount, getParentIndices, isDirected, removeEdge, removeEdge, removeNode, removeNode, setDirected, setEdge, setEdge, setNodeclone, exportTo, fireValueChanged, fireValueChanged, fireValueChanged, importFrom, save, save, share, share, toHtmlgetFactoryallValues, equals, equalsAnnotation, equalsContent, getColumnCount, getColumnList, getDimensionCount, getRowCount, getRowList, getSize, getValueType, getZCount, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSquare, isSymmetric, isTransient, setSize, toStringgetCoreObjectIdgetGUIObject, showGUIallCoordinates, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinatesgetAsBigDecimal, getAsBigInteger, getAsBoolean, getAsByte, getAsByteArray, getAsChar, getAsDate, getAsDouble, getAsFloat, getAsInt, getAsLong, getAsMatrix, getAsObject, getAsShort, getAsString, getPreferredObject, setAsBigDecimal, setAsBigInteger, setAsBoolean, setAsByte, setAsByteArray, setAsChar, setAsDate, setAsDouble, setAsFloat, setAsInt, setAsLong, setAsMatrix, setAsObject, setAsShort, setAsString, toBigDecimalArray, toBigIntegerArray, toBooleanArray, toByteArray, toCharArray, toDateArray, toDoubleArray, toFloatArray, toIntArray, toLongArray, toObjectArray, toShortArray, toStringArrayatimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, plus, plus, plus, plus, times, times, times, timesabs, exp, log, log10, log2, logistic, power, power, sign, sqrtceil, floor, roundcosh, sinh, tanh, tanhcos, sin, taneye, nans, ones, rand, randn, zerosgrayScalecorrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, varchol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, pinv, princomp, qr, solve, solveSPD, solveSymm, svd, svdaddMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, imputeappend, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardizediscretize, discretize, discretizeToBoolean, discretizeToColumnsand, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xorconvertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCasebootstrap, bootstrap, convert, delete, delete, delete, deleteColumns, deleteColumns, deleteRows, deleteRows, diag, extractAnnotation, fill, flipdim, includeAnnotation, replace, reshape, select, select, select, selectColumns, selectColumns, selectRows, selectRows, shuffle, sortrows, squeeze, subMatrix, swap, toColumnVector, toRowVector, transpose, transpose, transpose, tril, triu, unique, uniqueValueCountchebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTocompareTogetColumnForLabel, getColumnLabel, getDimensionLabel, getDimensionMetaData, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getPositionForLabel, getRowForLabel, getRowLabel, setColumnLabel, setDimensionLabel, setDimensionMetaData, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabelgetLabel, getLabelObject, setLabelgetDescription, setDescriptiontoBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrixbigDecimalValue, bigIntegerValue, booleanValue, byteValue, charValue, containsBigDecimal, containsBigInteger, containsBoolean, containsByte, containsChar, containsDate, containsDouble, containsFloat, containsInt, containsLong, containsMissingValues, containsNull, containsObject, containsShort, containsString, dateValue, det, doubleValue, floatValue, getAbsoluteValueMean, getAbsoluteValueSum, getEuklideanValue, getMaxValue, getMeanValue, getMinValue, getRMS, getStdValue, getValueSum, intValue, isSPD, longValue, norm1, norm2, normF, normInf, pdet, rank, setContent, shortValue, stringValue, tracepublic boolean containsCoordinates(long... coordinates)
CoordinateFunctionscontainsCoordinates in interface CoordinateFunctionscoordinates - The coordinates to checkpublic boolean isConnected(N node1, N node2)
isConnected in interface GraphMatrix<N,E>public List<N> getParents(long index)
getParents in interface GraphMatrix<N,E>public List<N> getParents(N node)
getParents in interface GraphMatrix<N,E>public List<N> getChildren(long index)
getChildren in interface GraphMatrix<N,E>public List<Long> getParentIndices(N node)
getParentIndices in interface GraphMatrix<N,E>public int getDegree(N node)
getDegree in interface GraphMatrix<N,E>public int getDegree(long nodeIndex)
getDegree in interface GraphMatrix<N,E>public int getChildCount(N node)
getChildCount in interface GraphMatrix<N,E>public int getParentCount(N node)
getParentCount in interface GraphMatrix<N,E>public List<Long> getChildIndices(N node)
getChildIndices in interface GraphMatrix<N,E>public List<N> getChildren(N node)
getChildren in interface GraphMatrix<N,E>public Iterable<long[]> availableCoordinates()
CoordinateFunctionsavailableCoordinates in interface CoordinateFunctionspublic final long[] getSize()
getSize in interface BaseMatrixPropertiesgetSize in class AbstractMatrixpublic final E getObject(long row, long column)
getObject in interface GenericMatrix2D<E>getObject in class AbstractGenericMatrix<E>public final E getObject(int row, int column)
getObject in interface GenericMatrix2D<E>getObject in class AbstractGenericMatrix<E>public final long getValueCount()
getValueCount in interface BaseMatrixPropertiesgetValueCount in class AbstractMatrixpublic final void setObject(E value, long row, long column)
setObject in interface GenericMatrix2D<E>setObject in class AbstractGenericMatrix<E>public final void setObject(E value, int row, int column)
setObject in interface GenericMatrix2D<E>setObject in class AbstractGenericMatrix<E>public final boolean isConnected(long node1,
long node2)
isConnected in interface GraphMatrix<N,E>public final long getIndexOfNode(N o)
getIndexOfNode in interface GraphMatrix<N,E>Copyright © 2015 Universal Java Matrix Package. All rights reserved.