|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Class used to speed up n-ary additions and multiplications. More...

Public Member Functions | |
| AddableBigIntegerDelayed (BigInteger val) | |
| Constructor. | |
| AddableBigIntegerDelayed (boolean infSign) | |
| Constructor for -INF and +INF. | |
| void | addDelayed (AddableBigInteger a) |
| boolean | isInfinite () |
| void | multiplyDelayed (AddableBigInteger a) |
| AddableBigInteger | resolve () |
| Public Member Functions inherited from frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > > | |
| void | addDelayed (T a) |
| Add an object of type T to this class. | |
| void | multiplyDelayed (T a) |
| Multiply an object of type T with this class. | |
Private Attributes | |
| BigInteger | val |
| The intermediate value. | |
| boolean | infSign |
true if positive. | |
Class used to speed up n-ary additions and multiplications.
| frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.AddableBigIntegerDelayed | ( | BigInteger | val | ) |
| frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.AddableBigIntegerDelayed | ( | boolean | infSign | ) |
| void frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.addDelayed | ( | AddableBigInteger | a | ) |
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.PLUS_INF, and frodo2.solutionSpaces.crypto.AddableBigInteger.val.

| boolean frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.isInfinite | ( | ) |
| void frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.multiplyDelayed | ( | AddableBigInteger | a | ) |
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), frodo2.solutionSpaces.crypto.AddableBigInteger.isPositive(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.PLUS_INF, and frodo2.solutionSpaces.crypto.AddableBigInteger.val.

| AddableBigInteger frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.resolve | ( | ) |
Implements frodo2.solutionSpaces.AddableDelayed< T extends Addable< T > >.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, and frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.PLUS_INF.

|
private |
true if positive.
Only used for -INF and +INF, which corresponds to when val is null
Referenced by AddableBigIntegerDelayed().
|
private |
The intermediate value.
Referenced by AddableBigIntegerDelayed().