FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed Class Reference

Class used to speed up n-ary additions and multiplications. More...

Inheritance diagram for frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed:

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.

Detailed Description

Class used to speed up n-ary additions and multiplications.

Author
Thomas Leaute

Constructor & Destructor Documentation

◆ AddableBigIntegerDelayed() [1/2]

frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.AddableBigIntegerDelayed ( BigInteger val)

Constructor.

Parameters
valThe initial BigInteger value

References val.

◆ AddableBigIntegerDelayed() [2/2]

frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.AddableBigIntegerDelayed ( boolean infSign)

Constructor for -INF and +INF.

Parameters
infSigntrue if positive

References infSign.

Member Function Documentation

◆ addDelayed()

void frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.addDelayed ( AddableBigInteger a)

◆ isInfinite()

boolean frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.isInfinite ( )

◆ multiplyDelayed()

◆ resolve()

Member Data Documentation

◆ infSign

boolean frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.infSign
private

true if positive.

Only used for -INF and +INF, which corresponds to when val is null

Referenced by AddableBigIntegerDelayed().

◆ val

BigInteger frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.val
private

The intermediate value.

Referenced by AddableBigIntegerDelayed().


The documentation for this class was generated from the following file: