Documentation of 'edu.rit.pj.test.Test13' Java class
Test13
edu.rit.pj.test

Class Test13



  • public class Test13
    extends java.lang.Object
    Class Test13 is a unit test main program for the SMP barrier functionality in package edu.rit.pj. The program does the O(N3) Floyd's Algorithm on an NxN matrix filled with random data. The final matrix is stored in a binary file using java.io.DataOutput. Running time measurements are for the computational core only, not including initializing the matrix or writing the output file.

    Usage: java -Dpj.nt=K edu.rit.pj.test.Test13 seed N file
    K = Number of parallel threads
    seed = Random seed
    N = Matrix size (NxN)
    file = Output file name

    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Unit test main program.
      • Methods inherited from class java.lang.Object

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

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Unit test main program.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.