FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M > Interface Template Reference

A limited Addable that only declares a very small subset of the operations supported by an Addable. More...

Inheritance diagram for frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >:

Public Member Functions

add (A other)
 Addition.
min (M other)
 Minimum.
max (M other)
 Maximum.
boolean externalize ()
Object readResolve ()
 Method called just after deserialization.

Detailed Description

A limited Addable that only declares a very small subset of the operations supported by an Addable.

Author
Thomas Leaute
Parameters
<A>the type of what can be added to this limited Addable
<M>the type of objects one can compute the max or min with

Member Function Documentation

◆ add()

M frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >.add ( A other)

Addition.

Parameters
otherthe object to be added to this
Returns
the sum

◆ externalize()

boolean frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >.externalize ( )
Returns
whether objects of this class should be serialized as Externalizables, or only as Serializables

Implemented in frodo2.algorithms.dpop.privacy.test.FakeCryptoScheme.FakeEncryptedInteger, and frodo2.solutionSpaces.crypto.ElGamalBigInteger.

◆ max()

M frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >.max ( M other)

Maximum.

Parameters
otheranother object
Returns
the maximum of this and the input object

◆ min()

M frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >.min ( M other)

Minimum.

Parameters
otheranother object
Returns
the minimum of this and the input object

◆ readResolve()

Object frodo2.solutionSpaces.AddableLimited< A extends Addable< A >, M extends AddableLimited< A, M >.readResolve ( )

Method called just after deserialization.

Returns
this object, or a replacement

Implemented in frodo2.algorithms.dpop.privacy.test.FakeCryptoScheme.FakeEncryptedInteger, and frodo2.solutionSpaces.crypto.ElGamalBigInteger.


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