|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Convenient class to store information about a variable of this agent. More...
Public Member Functions | |
| String | toString () |
| VariableInfo (String self) | |
| Constructor. | |
| void | createVector (final int order, final int declaredOrder, final int size) |
| Create the vector of this variable. | |
| E | remove () |
| void | shuffle (ArrayList< E > vector) |
| Shuffles the input vector. | |
| void | encryptVector (ArrayList< E > vector) |
| Encrypts a vector already encrypted. | |
Public Attributes | |
| String | self |
| My name. | |
| String | codeName |
| My codeName. | |
| int | order |
| Order of this variable. | |
| int | declaredOrder |
| The order for this variable that it declared to the next variable. | |
| Boolean | root = null |
| If this variable is a new root. | |
| boolean | waitCrypto = false |
| If a reroot request is received and this variable hasn't received its CryptoScheme. | |
| int | total = -1 |
| Believed total number of variables in this component. | |
| int[] | permutation |
| A random permutation used to shuffle the vectors. | |
| boolean | hasBeenRoot = false |
| Has this variable already been root ? | |
| CryptoScheme< C, E,?> | cs |
| CryptoScheme used to encrypt vectors. | |
| ArrayList< VectorMsg< C, E > > | waitingVector |
| Pending VectorMsgs waiting for the cryptoscheme to be received. | |
| ArrayList< E > | vector |
| The vector of this variable. | |
Private Attributes | |
| Message | pendingDone |
| A Done message waiting to be forwarded until I know I am not the new root. | |
Convenient class to store information about a variable of this agent.
| frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.VariableInfo | ( | String | self | ) |
Constructor.
| self | the variable |
| void frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.createVector | ( | final int | order, |
| final int | declaredOrder, | ||
| final int | size ) |
Create the vector of this variable.
| order | the order of this variable in the linear ordering |
| declaredOrder | the order for this variable that it declared to the following variable |
| size | the size of the component |
References declaredOrder, frodo2.solutionSpaces.crypto.CryptoScheme< C extends Serializable, E extends Serializable, K extends CryptoScheme.PublicKeyShare >.encrypt(), frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.fakeElement, frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.notRootElement, order, and frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.rootElement.

| void frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.encryptVector | ( | ArrayList< E > | vector | ) |
| E frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.remove | ( | ) |
References vector.
Referenced by frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.processVectorMsg().
| void frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.shuffle | ( | ArrayList< E > | vector | ) |
Shuffles the input vector.
| vector | the vector to shuffle |
References vector.
Referenced by frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.processVectorMsg().
| String frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.toString | ( | ) |
| String frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.codeName |
| CryptoScheme<C,E,?> frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.cs |
CryptoScheme used to encrypt vectors.
Referenced by encryptVector(), and frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.processVectorMsg().
| int frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.declaredOrder |
The order for this variable that it declared to the next variable.
Referenced by createVector(), and frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.processVectorMsg().
| boolean frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.hasBeenRoot = false |
Has this variable already been root ?
| int frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.order |
Order of this variable.
Referenced by createVector(), and frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.processVectorMsg().
|
private |
A Done message waiting to be forwarded until I know I am not the new root.
| int [] frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.permutation |
A random permutation used to shuffle the vectors.
| Boolean frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.root = null |
If this variable is a new root.
| String frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.self |
| int frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.total = -1 |
Believed total number of variables in this component.
| ArrayList<E> frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.vector |
The vector of this variable.
Referenced by encryptVector(), remove(), and shuffle().
| boolean frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.waitCrypto = false |
If a reroot request is received and this variable hasn't received its CryptoScheme.
| ArrayList<VectorMsg<C,E> > frodo2.algorithms.dpop.privacy.SecureRerooting< C extends Addable< C >, E extends AddableLimited< C, E >.VariableInfo.waitingVector |
Pending VectorMsgs waiting for the cryptoscheme to be received.