Interface Matrix

  • All Known Implementing Classes:
    DenseMatrix

    public interface Matrix
    • Method Summary

      Modifier and Type Method Description
      void floydWarshall​(Matrix next)  
      Double g​(int row, int col)  
      double getMaximum()  
      List<Pair> getRow​(int row)  
      void set​(int row, int col, Double value)
      Sets the value of the matrix at the specified row and column.
    • Method Detail

      • g

        Double g​(int row,
                 int col)
      • set

        void set​(int row,
                 int col,
                 Double value)
        Sets the value of the matrix at the specified row and column.
        Parameters:
        row - Object
        col - Object
        value - a value
      • getRow

        List<Pair> getRow​(int row)
      • floydWarshall

        void floydWarshall​(Matrix next)
      • getMaximum

        double getMaximum()