public abstract class MatrixMultiplicationPropagator extends Object implements Propagator
| Constructor and Description | 
|---|
MatrixMultiplicationPropagator()
Constructor for empty instance. 
 | 
MatrixMultiplicationPropagator(MatrixBlock input1,
                              PrivacyConstraint privacyConstraint1,
                              MatrixBlock input2,
                              PrivacyConstraint privacyConstraint2)
Constructs the propagator and initializes the fields used for propagation. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
OperatorType[] | 
getOperatorTypesCol()
Gets the operator types of all columns of the right-hand input in the matrix multiplication. 
 | 
OperatorType[] | 
getOperatorTypesRow()
Gets the operator types of all rows of the left-hand input in the matrix multiplication. 
 | 
PrivacyConstraint | 
propagate()
Activates the propagation and returns the output privacy constraint. 
 | 
void | 
setFields(MatrixBlock input1,
         PrivacyConstraint privacyConstraint1,
         MatrixBlock input2,
         PrivacyConstraint privacyConstraint2)
Sets all fields of propagator. 
 | 
public MatrixMultiplicationPropagator()
public MatrixMultiplicationPropagator(MatrixBlock input1, PrivacyConstraint privacyConstraint1, MatrixBlock input2, PrivacyConstraint privacyConstraint2)
input1 - left-hand input in matrix multiplication.privacyConstraint1 - privacy constraint of left-hand input in matrix multiplicationinput2 - right-hand input in matrix multiplicationprivacyConstraint2 - privacy constraint of right-hand input in matrix multiplicationpublic void setFields(MatrixBlock input1, PrivacyConstraint privacyConstraint1, MatrixBlock input2, PrivacyConstraint privacyConstraint2)
input1 - left-hand input in matrix multiplication.privacyConstraint1 - privacy constraint of left-hand input in matrix multiplicationinput2 - right-hand input in matrix multiplicationprivacyConstraint2 - privacy constraint of right-hand input in matrix multiplicationpublic PrivacyConstraint propagate()
Propagatorpropagate in interface Propagatorpublic OperatorType[] getOperatorTypesRow()
public OperatorType[] getOperatorTypesCol()
Copyright © 2021 The Apache Software Foundation. All rights reserved.