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

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

Inheritance diagram for frodo2.solutionSpaces.AddableReal.MinInfinity:

Public Member Functions

 MinInfinity ()
String toString ()
MinInfinity add (final AddableReal o)
MinInfinity subtract (final AddableReal o)
AddableReal multiply (final AddableReal o)
MinInfinity 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.
PlusInfinity flipSign ()
AddableDelayed< AddableRealaddDelayed ()
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 ()
AddableReal log ()
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 MinInfinity MIN_INF = new MinInfinity ()
 The unique instance of the class.

Detailed Description

A singleton class representing the real number -infinity.

Constructor & Destructor Documentation

◆ MinInfinity()

Warning
DO NOT USE THIS CONSTRUCTOR! Use the instance MinInfinity.MIN_INF

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

Member Function Documentation

◆ abs()

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

◆ add()

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

◆ addDelayed()

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

◆ compareTo() [1/2]

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

Reimplemented from frodo2.solutionSpaces.AddableReal.

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

Referenced by compareTo().

Here is the call graph for this function:

◆ compareTo() [2/2]

int frodo2.solutionSpaces.AddableReal.MinInfinity.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()

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

◆ equals() [1/2]

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

Reimplemented from frodo2.solutionSpaces.AddableReal.

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

Here is the call graph for this function:

◆ equals() [2/2]

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

Reimplemented from frodo2.solutionSpaces.AddableReal.

References MIN_INF.

◆ flipSign()

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

◆ hashCode()

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

◆ multiply()

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

◆ readResolve()

Object frodo2.solutionSpaces.AddableReal.MinInfinity.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 MIN_INF.

◆ subtract()

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

Reimplemented from frodo2.solutionSpaces.AddableReal.

References frodo2.solutionSpaces.AddableReal.AddableReal(), MIN_INF, and MinInfinity().

Here is the call graph for this function:

◆ toString()

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

Member Data Documentation

◆ MIN_INF


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