Class LeakyFrequencyTable

java.lang.Object
dk.alexandra.fresco.stat.descriptive.LeakyFrequencyTable
All Implemented Interfaces:
dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.util.Pair<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>,​Integer>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>

public class LeakyFrequencyTable
extends Object
implements dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.util.Pair<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>,​Integer>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
Compute the frequencies of entries in the given data. The set of frequencies will be leaked to all parties but the corresponding values will be kept secret. If the data has not been obliviously shuffled before this computation, the indices of equal values will be leaked.
  • Constructor Summary

    Constructors 
    Constructor Description
    LeakyFrequencyTable​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>> data)  
  • Method Summary

    Modifier and Type Method Description
    dk.alexandra.fresco.framework.DRes<List<dk.alexandra.fresco.framework.util.Pair<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>,​Integer>>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LeakyFrequencyTable

      public LeakyFrequencyTable​(List<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>> data)
  • Method Details

    • buildComputation

      public dk.alexandra.fresco.framework.DRes<List<dk.alexandra.fresco.framework.util.Pair<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>,​Integer>>> buildComputation​(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric builder)
      Specified by:
      buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<List<dk.alexandra.fresco.framework.util.Pair<dk.alexandra.fresco.framework.DRes<dk.alexandra.fresco.framework.value.SInt>,​Integer>>,​dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>