|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A singleton class representing the real number +infinity. More...

Public Member Functions | |
| PlusInfinity () | |
| String | toString () |
| PlusInfinity | add (final AddableReal o) |
| PlusInfinity | subtract (final AddableReal o) |
| AddableReal | multiply (final AddableReal o) |
| PlusInfinity | divide (final AddableReal o) |
| PlusInfinity | abs () |
| int | compareTo (final AddableReal o) |
| int | compareTo (final AddableReal o, double error) |
| boolean | equals (final Object o) |
| boolean | equals (final AddableReal that, double error) |
| int | hashCode () |
| Object | readResolve () |
| Method to deserialize the object in such a way that the singleton property is retained. | |
| MinInfinity | flipSign () |
| AddableDelayed< AddableReal > | addDelayed () |
| AddableReal | log () |
| Public Member Functions inherited from frodo2.solutionSpaces.AddableReal | |
| AddableReal () | |
| Default constructor. | |
| AddableReal (double value) | |
| Constructor. | |
| void | writeExternal (ObjectOutput arg0) throws IOException |
| void | readExternal (ObjectInput arg0) throws IOException, ClassNotFoundException |
| final boolean | externalize () |
| AddableReal | fromString (final String str) |
| AddableReal | fromInt (int nbr) |
| AddableReal | getMinInfinity () |
| AddableReal | getPlusInfinity () |
| AddableReal | getZero () |
| AddableReal | min (final AddableReal o) |
| Computes the minimum of two AddableReals. | |
| AddableReal | max (final AddableReal o) |
| int | intValue () |
| double | doubleValue () |
| Addable< AddableReal >[] | range (AddableReal begin, AddableReal end) |
| Public Member Functions inherited from frodo2.solutionSpaces.Addable< AddableReal > | |
| int | intValue () |
| double | doubleValue () |
| T | fromString (String str) |
| Parses a string to construct a new instance. | |
| T | fromInt (int nbr) |
| Creates an instance from an int. | |
| T | add (T o) |
| Adds an object to this object. | |
| AddableDelayed< T > | addDelayed () |
| Creates an object with the same value as this object, used to delay the resolution of a large number of additions. | |
| T | subtract (T o) |
| Subtracts an object from this object. | |
| T | multiply (T o) |
| Multiplies an object with this object. | |
| boolean | equals (Object o) |
| The equals function must be implemented so that the hashmap storing the steps for each value can find the proper step for the provided value. | |
| int | hashCode () |
| The hashCode function must be implemented so that the hashmap storing the steps for each value can find the proper step for the provided value. | |
| T | getZero () |
| Returns a neutral object for the addition operation ("zero"). | |
| T | getPlusInfinity () |
| Returns the "+infinity" object. | |
| T | getMinInfinity () |
| Returns the "-infinity" object. | |
| T | abs () |
| T | divide (T o) |
| T | flipSign () |
| Flip the sign of this number. | |
| Addable< T >[] | range (T begin, T end) |
Returns an array containing all the values between begin and end. | |
Static Public Attributes | |
| static final PlusInfinity | PLUS_INF = new PlusInfinity () |
| The unique instance of the class. | |
A singleton class representing the real number +infinity.
Referenced by abs(), add(), divide(), and subtract().
| PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.abs | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References PlusInfinity().

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

| AddableDelayed< AddableReal > frodo2.solutionSpaces.AddableReal.PlusInfinity.addDelayed | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
| int frodo2.solutionSpaces.AddableReal.PlusInfinity.compareTo | ( | final AddableReal | o | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), and PLUS_INF.
Referenced by compareTo().

| int frodo2.solutionSpaces.AddableReal.PlusInfinity.compareTo | ( | final AddableReal | o, |
| double | error ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), and compareTo().

| PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.divide | ( | final AddableReal | o | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), frodo2.solutionSpaces.AddableReal.MinInfinity.MIN_INF, PLUS_INF, and PlusInfinity().

| boolean frodo2.solutionSpaces.AddableReal.PlusInfinity.equals | ( | final AddableReal | that, |
| double | error ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), and PLUS_INF.

| boolean frodo2.solutionSpaces.AddableReal.PlusInfinity.equals | ( | final Object | o | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References PLUS_INF.
| MinInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.flipSign | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.MinInfinity.MIN_INF.
| int frodo2.solutionSpaces.AddableReal.PlusInfinity.hashCode | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
| AddableReal frodo2.solutionSpaces.AddableReal.PlusInfinity.log | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal().

| AddableReal frodo2.solutionSpaces.AddableReal.PlusInfinity.multiply | ( | final AddableReal | o | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), frodo2.solutionSpaces.AddableReal.MinInfinity.MIN_INF, PLUS_INF, and frodo2.solutionSpaces.AddableReal.value.

| Object frodo2.solutionSpaces.AddableReal.PlusInfinity.readResolve | ( | ) |
Method to deserialize the object in such a way that the singleton property is retained.
Reimplemented from frodo2.solutionSpaces.AddableReal.
References PLUS_INF.
| PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.subtract | ( | final AddableReal | o | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
References frodo2.solutionSpaces.AddableReal.AddableReal(), PLUS_INF, and PlusInfinity().

| String frodo2.solutionSpaces.AddableReal.PlusInfinity.toString | ( | ) |
Reimplemented from frodo2.solutionSpaces.AddableReal.
|
static |
The unique instance of the class.
Referenced by frodo2.solutionSpaces.AddableReal.MinInfinity.abs(), frodo2.solutionSpaces.AddableReal.add(), frodo2.solutionSpaces.AddableReal.MinInfinity.add(), add(), frodo2.solutionSpaces.AddableReal.AddableRealDelayed.addDelayed(), frodo2.solutionSpaces.AddableReal.compareTo(), frodo2.solutionSpaces.AddableReal.compareTo(), compareTo(), frodo2.benchmarks.vehiclerouting.CordeauToXCSP.createXCSP(), frodo2.solutionSpaces.AddableReal.divide(), frodo2.solutionSpaces.AddableReal.MinInfinity.divide(), divide(), frodo2.solutionSpaces.AddableReal.equals(), frodo2.solutionSpaces.AddableReal.equals(), equals(), equals(), frodo2.solutionSpaces.AddableReal.MinInfinity.flipSign(), frodo2.solutionSpaces.AddableReal.fromString(), frodo2.solutionSpaces.AddableReal.getPlusInfinity(), frodo2.solutionSpaces.AddableReal.MinInfinity.multiply(), frodo2.solutionSpaces.AddableReal.multiply(), multiply(), frodo2.solutionSpaces.AddableReal.AddableRealDelayed.multiplyDelayed(), readResolve(), frodo2.solutionSpaces.AddableReal.readResolve(), frodo2.solutionSpaces.AddableReal.AddableRealDelayed.resolve(), frodo2.algorithms.duct.SamplingChildSearch< V extends Addable< V > >.VariableInfo.storeCOSTmsg(), subtract(), frodo2.solutionSpaces.AddableReal.subtract(), and frodo2.solutionSpaces.hypercube.tests.HypercubeTest.testSample().