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

A singleton class representing the real number +infinity. More...

Inheritance diagram for frodo2.solutionSpaces.AddableReal.PlusInfinity:

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< AddableRealaddDelayed ()
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 ()
fromString (String str)
 Parses a string to construct a new instance.
fromInt (int nbr)
 Creates an instance from an int.
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.
subtract (T o)
 Subtracts an object from this object.
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.
getZero ()
 Returns a neutral object for the addition operation ("zero").
getPlusInfinity ()
 Returns the "+infinity" object.
getMinInfinity ()
 Returns the "-infinity" object.
abs ()
divide (T o)
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.

Detailed Description

A singleton class representing the real number +infinity.

Constructor & Destructor Documentation

◆ PlusInfinity()

Warning
DO NOT USE THIS CONSTRUCTOR! Use the instance PlusInfinity.PLUS_INF

Referenced by abs(), add(), divide(), and subtract().

Member Function Documentation

◆ abs()

PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.abs ( )
See also
AddableReal.abs()

Reimplemented from frodo2.solutionSpaces.AddableReal.

References PlusInfinity().

Here is the call graph for this function:

◆ add()

PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.add ( final AddableReal o)

◆ addDelayed()

AddableDelayed< AddableReal > frodo2.solutionSpaces.AddableReal.PlusInfinity.addDelayed ( )

◆ compareTo() [1/2]

int frodo2.solutionSpaces.AddableReal.PlusInfinity.compareTo ( final AddableReal o)
See also
AddableReal.compareTo(AddableReal)

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal(), and PLUS_INF.

Referenced by compareTo().

Here is the call graph for this function:

◆ compareTo() [2/2]

int frodo2.solutionSpaces.AddableReal.PlusInfinity.compareTo ( final AddableReal o,
double error )
See also
AddableReal.compareTo(AddableReal, double)

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal(), and compareTo().

Here is the call graph for this function:

◆ divide()

PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.divide ( final AddableReal o)

◆ equals() [1/2]

boolean frodo2.solutionSpaces.AddableReal.PlusInfinity.equals ( final AddableReal that,
double error )
See also
AddableReal.equals(AddableReal, double)

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal(), and PLUS_INF.

Here is the call graph for this function:

◆ equals() [2/2]

boolean frodo2.solutionSpaces.AddableReal.PlusInfinity.equals ( final Object o)
See also
AddableReal.equals(java.lang.Object)

Reimplemented from frodo2.solutionSpaces.AddableReal.

References PLUS_INF.

◆ flipSign()

MinInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.flipSign ( )

◆ hashCode()

int frodo2.solutionSpaces.AddableReal.PlusInfinity.hashCode ( )

◆ log()

AddableReal frodo2.solutionSpaces.AddableReal.PlusInfinity.log ( )
See also
AddableReal.log()

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal().

Here is the call graph for this function:

◆ multiply()

AddableReal frodo2.solutionSpaces.AddableReal.PlusInfinity.multiply ( final AddableReal o)

◆ readResolve()

Object frodo2.solutionSpaces.AddableReal.PlusInfinity.readResolve ( )

Method to deserialize the object in such a way that the singleton property is retained.

Returns
singleton object

Reimplemented from frodo2.solutionSpaces.AddableReal.

References PLUS_INF.

◆ subtract()

PlusInfinity frodo2.solutionSpaces.AddableReal.PlusInfinity.subtract ( final AddableReal o)
See also
AddableReal.subtract(AddableReal)

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal(), PLUS_INF, and PlusInfinity().

Here is the call graph for this function:

◆ toString()

String frodo2.solutionSpaces.AddableReal.PlusInfinity.toString ( )

Member Data Documentation

◆ PLUS_INF


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