All Downloads are FREE. Search and download functionalities are using the official Maven repository.

dk.alexandra.fresco.framework.Application Maven / Gradle / Ivy

package dk.alexandra.fresco.framework;

import dk.alexandra.fresco.framework.builder.Computation;
import dk.alexandra.fresco.framework.builder.ProtocolBuilder;

/**
 * The Application interface should be implemented by all MPC applications that should run within
 * FRESCO. Application developers choose between the different type of builders and the output type
 * the application should produce. The developer is then provided with a method to fill out and a
 * builder to use of the specified type. This builder can then be used to construct the application.
 * 
 * @param  The output type
 * @param  The builder type (i.e. currently either binary or arithmetic)
 */
public interface Application
    extends Computation {

  /**
   * Closes the application and allows the output to be produced and allocated resources to be
   * released.
   */
  default void close() {

  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy