def getWeightMatrix(self):
        if self.getVertexList().getNumVertices() != 0: 
            return self.W.toarray()
        else: 
            return numpy.zeros((0, 0))
Return the weight matrix in dense format. Warning: should not be used
dataset/ETHPy150Open charanpald/APGL/apgl/graph/SparseGraph.py/SparseGraph.getWeightMatrix