public class DistanceDemo extends Object implements dk.alexandra.fresco.framework.Application<BigInteger,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>
| Constructor and Description |
|---|
DistanceDemo(int id,
int x,
int y)
Construct a new DistanceDemo.
|
| Modifier and Type | Method and Description |
|---|---|
dk.alexandra.fresco.framework.DRes<BigInteger> |
buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric producer) |
static <ResourcePoolT extends dk.alexandra.fresco.framework.sce.resources.ResourcePool> |
main(String[] args)
Main method for DistanceDemo.
|
public DistanceDemo(int id,
int x,
int y)
id - The party idx - The x coordinatey - The y coordinatepublic dk.alexandra.fresco.framework.DRes<BigInteger> buildComputation(dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric producer)
buildComputation in interface dk.alexandra.fresco.framework.builder.Computation<BigInteger,dk.alexandra.fresco.framework.builder.numeric.ProtocolBuilderNumeric>public static <ResourcePoolT extends dk.alexandra.fresco.framework.sce.resources.ResourcePool> void main(String[] args) throws IOException
args - Arguments for the applicationIOException - In case of network problemsCopyright © 2022 The Alexandra Institute. All rights reserved.