de.aitools.iv.graphdrawing.datastructures.graph
Interface AdjacencyMatrix
- All Superinterfaces:
- Graph
- All Known Implementing Classes:
- AdjacencyMatrixComp
public interface AdjacencyMatrix
- extends Graph
normalize
void normalize()
normalize2
double normalize2()
clone
java.lang.Object clone()
clone
void clone(AdjacencyMatrix o)
setThreshold
void setThreshold(double threshold)
getThreshold
double getThreshold()
getDiagonalValue
double getDiagonalValue()
getMissingValue
double getMissingValue()
setEdgeWeight
void setEdgeWeight(int vertexFrom,
int vertexTo,
double weight)
addEdgeWeight
void addEdgeWeight(int vertexFrom,
int vertexTo,
double weight)
getEdgeWeight
double getEdgeWeight(int vertexFrom,
int vertexTo)
getInverseEdgeWeight
double getInverseEdgeWeight(int vertexFrom,
int vertexTo)
getVertexCount
int getVertexCount()
- Specified by:
getVertexCount
in interface Graph
getSumOfEdgeWeights
double getSumOfEdgeWeights()
getSumOfEdgeWeights
double getSumOfEdgeWeights(int[] vertexIndices)
getMaxValue
double getMaxValue()
getAverage
double getAverage()
getDeviation
double getDeviation()
getDeviation
double getDeviation(int[] vertexIndices)
getSimpleDeviation
double getSimpleDeviation()
getSimpleDeviation
double getSimpleDeviation(int[] vertexIndices)
getSumOfAdjacentEdgeWeights
double getSumOfAdjacentEdgeWeights(int[] vertexIndices)
getAdjacentVertices
int[] getAdjacentVertices(int vertex)
getEdges
int[][] getEdges()
getEdgeCount
int getEdgeCount()
- Specified by:
getEdgeCount
in interface Graph
getEdgeCount
int getEdgeCount(int vertex)
getEdgeCount
int getEdgeCount(int[] vertices)
createUndirectedGraph
UndirectedGraph createUndirectedGraph(UndirectedGraph g)
isNormalized
boolean isNormalized()
setNormalized
void setNormalized(boolean normalized)
isCoherent
boolean isCoherent()
setInverseEdgeWeight
void setInverseEdgeWeight(int vertexFrom,
int vertexTo,
double weight)
updateMaxWeight
void updateMaxWeight()