Package org.ujmp.core.graphmatrix
Interface GraphMatrix<N,E>
-
- All Superinterfaces:
BaseGenericMatrix<E>
,BaseMatrix
,BaseMatrixProperties
,BasicDoubleCalculations
,BasicEntrywiseDoubleCalculations
,BooleanCalculations
,CanPerformCalculations
,Clearable
,java.lang.Cloneable
,java.lang.Comparable<Matrix>
,Conversions
,CoordinateFunctions
,CoreObject
,CreatorDoubleCalculations
,DecompositionDoubleCalculations
,DiscretizeCalculations
,DistanceMeasures
,DoubleCalculations
,EntrywiseDoubleCalculations
,ExtendedMatrixProperties
,GeneralDoubleCalculations
,GenericMatrix2D<E>
,GettersAndSetters
,HasDescription
,HasGUIObject
,HasId
,HasLabel
,HasMetaData
,HyperbolicDoubleCalculations
,IntCalculations
,Matrix
,Matrix2D
,MiscEntrywiseDoubleCalculations
,MiscGeneralDoubleCalculations
,MissingValueDoubleCalculations
,ObjectCalculations
,RoundingDoubleCalculations
,java.io.Serializable
,StatisticalDoubleCalculations
,StringCalculations
,TrigonometricDoubleCalculations
- All Known Implementing Classes:
AbstractGraphMatrix
,DefaultGraphMatrix
public interface GraphMatrix<N,E> extends GenericMatrix2D<E>
-
-
Field Summary
-
Fields inherited from interface org.ujmp.core.BaseMatrix
ALL, COLUMN, LINK, NEW, NONE, ORIG, ROW, X, Y, Z
-
Fields inherited from interface org.ujmp.core.interfaces.HasDescription
DESCRIPTION
-
Fields inherited from interface org.ujmp.core.annotation.HasMetaData
DIMENSIONMETADATA
-
Fields inherited from interface org.ujmp.core.Matrix
chol, divideMatrix, divideScalar, eig, Factory, inv, lu, minusMatrix, minusScalar, mtimes, plusMatrix, plusScalar, qr, solve, svd, timesMatrix, timesScalar, transpose
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addNode(N node)
int
getChildCount(long nodeIndex)
int
getChildCount(N node)
java.util.List<java.lang.Long>
getChildIndices(long nodeIndex)
java.util.List<java.lang.Long>
getChildIndices(N node)
java.util.List<N>
getChildren(long nodeIndex)
java.util.List<N>
getChildren(N node)
int
getDegree(long nodeIndex)
int
getDegree(N node)
E
getEdge(long nodeIndex1, long nodeIndex2)
E
getEdge(N node1, N node2)
int
getEdgeCount()
long
getIndexOfNode(N node)
N
getNode(long index)
int
getNodeCount()
java.util.List<N>
getNodeList()
int
getParentCount(long nodeIndex)
int
getParentCount(N node)
java.util.List<java.lang.Long>
getParentIndices(long nodeIndex)
java.util.List<java.lang.Long>
getParentIndices(N node)
java.util.List<N>
getParents(long nodeIndex)
java.util.List<N>
getParents(N node)
boolean
isConnected(long nodeIndex1, long nodeIndex2)
boolean
isConnected(N node1, N node2)
boolean
isDirected()
void
removeEdge(long nodeIndex1, long nodeIndex2)
void
removeEdge(N node1, N node2)
void
removeNode(long node)
void
removeNode(N node)
void
setDirected(boolean directed)
void
setEdge(E edge, long nodeIndex1, long nodeIndex2)
void
setEdge(E edge, N node1, N node2)
void
setNode(N node, long index)
-
Methods inherited from interface org.ujmp.core.BaseMatrix
getFactory
-
Methods inherited from interface org.ujmp.core.interfaces.BaseMatrixProperties
allValues, equals, equalsAnnotation, equalsContent, getColumnCount, getColumnList, getDimensionCount, getRowCount, getRowList, getSize, getSize, getValueCount, getValueType, getZCount, isColumnVector, isDiagonal, isEmpty, isMultidimensionalMatrix, isReadOnly, isResizable, isRowVector, isScalar, isSingular, isSparse, isSquare, isSymmetric, isTransient, setSize, toString
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.basic.BasicDoubleCalculations
atimes, divide, divide, divide, divide, minus, minus, minus, minus, mtimes, mtimes, plus, plus, plus, plus, times, times, times, times
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.basic.BasicEntrywiseDoubleCalculations
abs, exp, log, log10, log2, logistic, power, power, sign, sqrt
-
Methods inherited from interface org.ujmp.core.booleanmatrix.calculation.BooleanCalculations
and, and, eq, eq, ge, ge, gt, gt, le, le, lt, lt, ne, ne, not, or, or, xor, xor
-
Methods inherited from interface org.ujmp.core.interfaces.Conversions
toBigDecimalMatrix, toBigIntegerMatrix, toBooleanMatrix, toByteMatrix, toCharMatrix, toDoubleMatrix, toFloatMatrix, toIntMatrix, toListMatrix, toLongMatrix, toMapMatrix, toObjectMatrix, toSetMatrix, toShortMatrix, toStringMatrix
-
Methods inherited from interface org.ujmp.core.interfaces.CoordinateFunctions
allCoordinates, availableCoordinates, containsCoordinates, getCoordinatesOfMaximum, getCoordinatesOfMinimum, nonZeroCoordinates, selectedCoordinates, selectedCoordinates
-
Methods inherited from interface org.ujmp.core.interfaces.CoreObject
getCoreObjectId
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.creators.CreatorDoubleCalculations
eye, nans, ones, rand, randn, zeros
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.decomposition.DecompositionDoubleCalculations
chol, eig, eigSymm, ginv, inv, invSPD, invSymm, lu, pinv, pinv, princomp, qr, solve, solveSPD, solveSymm, svd, svd
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.discretize.DiscretizeCalculations
discretize, discretize, discretizeToBoolean, discretizeToColumns
-
Methods inherited from interface org.ujmp.core.interfaces.DistanceMeasures
chebyshevDistanceTo, cosineSimilarity, cosineSimilarityTo, euklideanDistance, euklideanDistanceTo, manhattenDistance, manhattenDistanceTo, minkowskiDistance, minkowskiDistanceTo
-
Methods inherited from interface org.ujmp.core.interfaces.ExtendedMatrixProperties
bigDecimalValue, 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, trace
-
Methods inherited from interface org.ujmp.core.genericmatrix.GenericMatrix2D
getObject, getObject, setObject, setObject
-
Methods inherited from interface org.ujmp.core.interfaces.GettersAndSetters
getAsBigDecimal, 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, toStringArray
-
Methods inherited from interface org.ujmp.core.interfaces.HasDescription
getDescription, setDescription
-
Methods inherited from interface org.ujmp.core.interfaces.HasGUIObject
getGUIObject, showGUI
-
Methods inherited from interface org.ujmp.core.interfaces.HasLabel
getLabel, getLabelObject, setLabel
-
Methods inherited from interface org.ujmp.core.annotation.HasMetaData
getColumnForLabel, getColumnLabel, getDimensionLabel, getDimensionMetaData, getMetaData, getMetaData, getMetaDataDimensionMatrix, getMetaDataDouble, getMetaDataMatrix, getMetaDataString, getPositionForLabel, getRowForLabel, getRowLabel, setColumnLabel, setDimensionLabel, setDimensionMetaData, setMetaData, setMetaData, setMetaDataDimensionMatrix, setRowLabel
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.hyperbolic.HyperbolicDoubleCalculations
cosh, sinh, tanh, tanh
-
Methods inherited from interface org.ujmp.core.Matrix
clone, exportTo, fireValueChanged, fireValueChanged, fireValueChanged, importFrom, save, save, share, share, toHtml
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.misc.MiscEntrywiseDoubleCalculations
grayScale
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.misc.MiscGeneralDoubleCalculations
append, appendHorizontally, appendVertically, center, fadeIn, fadeOut, normalize, replaceMissingBy, standardize
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.missingvalues.MissingValueDoubleCalculations
addMissing, countMissing, deleteColumnsWithMissingValues, deleteRowsWithMissingValues, impute
-
Methods inherited from interface org.ujmp.core.objectmatrix.calculation.ObjectCalculations
bootstrap, 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, uniqueValueCount
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.rounding.RoundingDoubleCalculations
ceil, floor, round
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.general.statistical.StatisticalDoubleCalculations
corrcoef, cov, cumprod, cumsum, diff, indexOfMax, indexOfMin, max, mean, min, mutualInf, pairedTTest, prod, std, sum, var
-
Methods inherited from interface org.ujmp.core.stringmatrix.calculation.StringCalculations
convertEncoding, lowerCase, removePunctuation, removeWords, replaceRegex, replaceRegex, stem, tfIdf, translate, upperCase
-
Methods inherited from interface org.ujmp.core.doublematrix.calculation.entrywise.trigonometric.TrigonometricDoubleCalculations
cos, sin, tan
-
-
-
-
Method Detail
-
getNodeList
java.util.List<N> getNodeList()
-
isDirected
boolean isDirected()
-
setDirected
void setDirected(boolean directed)
-
getEdge
E getEdge(long nodeIndex1, long nodeIndex2)
-
setEdge
void setEdge(E edge, long nodeIndex1, long nodeIndex2)
-
getNode
N getNode(long index)
-
addNode
void addNode(N node)
-
setNode
void setNode(N node, long index)
-
removeNode
void removeNode(N node)
-
removeNode
void removeNode(long node)
-
isConnected
boolean isConnected(long nodeIndex1, long nodeIndex2)
-
getIndexOfNode
long getIndexOfNode(N node)
-
getEdgeCount
int getEdgeCount()
-
getNodeCount
int getNodeCount()
-
getChildCount
int getChildCount(long nodeIndex)
-
getChildCount
int getChildCount(N node)
-
getParentCount
int getParentCount(long nodeIndex)
-
getParentCount
int getParentCount(N node)
-
getDegree
int getDegree(long nodeIndex)
-
getDegree
int getDegree(N node)
-
getChildren
java.util.List<N> getChildren(long nodeIndex)
-
getChildIndices
java.util.List<java.lang.Long> getChildIndices(long nodeIndex)
-
getChildIndices
java.util.List<java.lang.Long> getChildIndices(N node)
-
getParents
java.util.List<N> getParents(long nodeIndex)
-
getParentIndices
java.util.List<java.lang.Long> getParentIndices(long nodeIndex)
-
getParentIndices
java.util.List<java.lang.Long> getParentIndices(N node)
-
removeEdge
void removeEdge(long nodeIndex1, long nodeIndex2)
-
-