|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This class implements the plus infinity element. More...

Public Member Functions | |
| PlusInfinity () | |
| int | intValue () |
| double | doubleValue () |
| PlusInfinity | add (final AddableBigInteger o) |
| AddableDelayed< AddableBigInteger > | addDelayed () |
| PlusInfinity | subtract (final AddableBigInteger o) |
| AddableBigInteger | multiply (final AddableBigInteger o) |
| PlusInfinity | divide (final AddableBigInteger o) |
| PlusInfinity | abs () |
| int | compareTo (final AddableBigInteger o) |
| Compares this AddableInteger with another. | |
| boolean | equals (final Object o) |
| int | hashCode () |
| Object | readResolve () |
| Method to deserialize the object in such a way that the singleton property is retained. | |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
| MinInfinity | flipSign () |
| String | toString () |
| Public Member Functions inherited from frodo2.solutionSpaces.crypto.AddableBigInteger | |
| AddableBigInteger () | |
| Empty constructor. | |
| AddableBigInteger (String val) | |
| Constructor from a String. | |
| AddableBigInteger (int numBits, Random rnd) | |
| Random constructor. | |
| AddableBigInteger (BigInteger val) | |
| Constructor. | |
| AddableBigInteger (int val) | |
| Constructor. | |
| final boolean | externalize () |
| AddableBigInteger | fromString (String str) |
| AddableBigInteger | fromInt (int nbr) |
| AddableBigInteger | getMinInfinity () |
| AddableBigInteger | getPlusInfinity () |
| AddableBigInteger | getZero () |
| AddableBigInteger | max (AddableBigInteger o) |
| AddableBigInteger | min (AddableBigInteger o) |
| boolean | isPositive () |
| Addable< AddableBigInteger >[] | range (AddableBigInteger begin, AddableBigInteger end) |
| Public Member Functions inherited from frodo2.solutionSpaces.Addable< T extends Addable< T > > | |
| T | add (T o) |
| Adds an object to this object. | |
| T | subtract (T o) |
| Subtracts an object from this object. | |
| T | multiply (T o) |
| Multiplies an object with this object. | |
| T | divide (T o) |
| Addable< T >[] | range (T begin, T end) |
Returns an array containing all the values between begin and end. | |
| Public Member Functions inherited from frodo2.solutionSpaces.AddableLimited< T, T > | |
| M | add (A other) |
| Addition. | |
| M | min (M other) |
| Minimum. | |
| M | max (M other) |
| Maximum. | |
| boolean | externalize () |
| Object | readResolve () |
| Method called just after deserialization. | |
Static Public Attributes | |
| static final PlusInfinity | PLUS_INF = new PlusInfinity() |
| The singleton PlusInfinity. | |
This class implements the plus infinity element.
Adding or subtracting anything still results in the infinity element.
Referenced by abs(), add(), divide(), and subtract().
| PlusInfinity frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.abs | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References PlusInfinity().

| PlusInfinity frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.add | ( | final AddableBigInteger | o | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, PLUS_INF, and PlusInfinity().

| AddableDelayed< AddableBigInteger > frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.addDelayed | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| int frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.compareTo | ( | final AddableBigInteger | o | ) |
Compares this AddableInteger with another.
| o | another AddableInteger |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), and PLUS_INF.
Referenced by multiply().

| PlusInfinity frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.divide | ( | final AddableBigInteger | o | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), frodo2.solutionSpaces.crypto.AddableBigInteger.equals(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, PLUS_INF, PlusInfinity(), and frodo2.solutionSpaces.crypto.AddableBigInteger.ZERO.

| double frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.doubleValue | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| boolean frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.equals | ( | final Object | o | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References PLUS_INF.
| MinInfinity frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.flipSign | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF.
| int frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.hashCode | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| int frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.intValue | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| AddableBigInteger frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.multiply | ( | final AddableBigInteger | o | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), compareTo(), frodo2.solutionSpaces.crypto.AddableBigInteger.equals(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.MIN_INF, PLUS_INF, and frodo2.solutionSpaces.crypto.AddableBigInteger.ZERO.

| void frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| Object frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.readResolve | ( | ) |
Method to deserialize the object in such a way that the singleton property is retained.
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References PLUS_INF.
| PlusInfinity frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.subtract | ( | final AddableBigInteger | o | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
References frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigInteger(), PLUS_INF, and PlusInfinity().

| String frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.toString | ( | ) |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
| void frodo2.solutionSpaces.crypto.AddableBigInteger.PlusInfinity.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Reimplemented from frodo2.solutionSpaces.crypto.AddableBigInteger.
|
static |
The singleton PlusInfinity.
Referenced by frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.abs(), frodo2.solutionSpaces.crypto.AddableBigInteger.add(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.add(), add(), frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.addDelayed(), frodo2.solutionSpaces.crypto.AddableBigInteger.compareTo(), compareTo(), frodo2.solutionSpaces.crypto.AddableBigInteger.divide(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.divide(), divide(), frodo2.solutionSpaces.crypto.AddableBigInteger.equals(), equals(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.flipSign(), frodo2.solutionSpaces.crypto.AddableBigInteger.fromString(), frodo2.solutionSpaces.crypto.AddableBigInteger.getPlusInfinity(), frodo2.solutionSpaces.crypto.AddableBigInteger.MinInfinity.multiply(), frodo2.solutionSpaces.crypto.AddableBigInteger.multiply(), multiply(), frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.multiplyDelayed(), readResolve(), frodo2.solutionSpaces.crypto.AddableBigInteger.AddableBigIntegerDelayed.resolve(), subtract(), and frodo2.solutionSpaces.crypto.AddableBigInteger.subtract().