Documentation of 'medusa.georgios.ClusteringAlgorithms.MatrixLoader' Java class
MatrixLoader
medusa.georgios.ClusteringAlgorithms

Class MatrixLoader



  • public class MatrixLoader
    extends java.lang.Object
    MatrixLoader loads matrices in simple sparse and dense formats.
    • Constructor Summary

      Constructors 
      Constructor and Description
      MatrixLoader() 
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static double[][] loadDense(java.lang.String file)
      read a graph with the elements of the adjacency matrix in each line.
      static SparseMatrix loadSparse(java.lang.String file)
      read a graph with line format labelfrom labelto weight
      static void main(java.lang.String[] args) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MatrixLoader

        public MatrixLoader()
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
      • loadSparse

        public static SparseMatrix loadSparse(java.lang.String file)
        read a graph with line format labelfrom labelto weight
        Parameters:
        string -
      • loadDense

        public static double[][] loadDense(java.lang.String file)
        read a graph with the elements of the adjacency matrix in each line.
        Parameters:
        file -
        Returns:

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.