Package edu.jas.gb

Class MPJReducerServer<C extends edu.jas.structure.RingElem<C>>

  • Type Parameters:
    C - coefficient type
    All Implemented Interfaces:
    java.lang.Runnable

    class MPJReducerServer<C extends edu.jas.structure.RingElem<C>>
    extends java.lang.Object
    implements java.lang.Runnable
    Distributed server reducing worker threads.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int rank  
    • Constructor Summary

      Constructors 
      Constructor Description
      MPJReducerServer​(int r, edu.jas.util.Terminator fin, MPJChannel c, DistHashTableMPJ<java.lang.Integer,​edu.jas.poly.GenPolynomial<C>> dl, edu.jas.gb.PairList<C> L)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Main method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • rank

        final int rank
    • Constructor Detail

      • MPJReducerServer

        MPJReducerServer​(int r,
                         edu.jas.util.Terminator fin,
                         MPJChannel c,
                         DistHashTableMPJ<java.lang.Integer,​edu.jas.poly.GenPolynomial<C>> dl,
                         edu.jas.gb.PairList<C> L)
        Constructor.
        Parameters:
        r - MPJ rank of partner.
        fin - termination coordinator to use.
        c - MPJ channel to use.
        dl - DHT to use.
        L - pair selection strategy
    • Method Detail

      • run

        public void run()
        Main method.
        Specified by:
        run in interface java.lang.Runnable