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

This class implements the minus infinity element. More...

Inheritance diagram for frodo2.solutionSpaces.AddableBigDecimal.MinInfinity:

Public Member Functions

 MinInfinity ()
int intValue ()
double doubleValue ()
MinInfinity add (final AddableBigDecimal o)
AddableDelayed< AddableBigDecimaladdDelayed ()
MinInfinity subtract (final AddableBigDecimal o)
AddableBigDecimal multiply (final AddableBigDecimal o)
MinInfinity divide (final AddableBigDecimal o)
PlusInfinity abs ()
int compareTo (final AddableBigDecimal o)
int compareTo (final AddableBigDecimal o, double error)
boolean equals (final Object o)
boolean equals (final AddableBigDecimal that, double error)
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
PlusInfinity flipSign ()
String toString ()
Public Member Functions inherited from frodo2.solutionSpaces.AddableBigDecimal
 AddableBigDecimal ()
 Empty constructor.
 AddableBigDecimal (double value)
 Constructor.
final boolean externalize ()
AddableBigDecimal fromString (String str)
AddableBigDecimal fromInt (int nbr)
AddableBigDecimal getMinInfinity ()
AddableBigDecimal getPlusInfinity ()
AddableBigDecimal getZero ()
AddableBigDecimal max (AddableBigDecimal o)
AddableBigDecimal min (AddableBigDecimal o)
Addable< AddableBigDecimal >[] range (AddableBigDecimal begin, AddableBigDecimal end)
Public Member Functions inherited from frodo2.solutionSpaces.Addable< AddableBigDecimal >
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 singleton MinInfinity.

Additional Inherited Members

Protected Member Functions inherited from frodo2.solutionSpaces.AddableBigDecimal
 AddableBigDecimal (BigDecimal val)
 Constructor.

Detailed Description

This class implements the minus infinity element.

Adding or subtracting anything still results in the infinity element.

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.AddableBigDecimal.MinInfinity.abs ( )

◆ add()

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

◆ addDelayed()

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

◆ compareTo() [1/2]

int frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.compareTo ( final AddableBigDecimal o)

◆ compareTo() [2/2]

int frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.compareTo ( final AddableBigDecimal o,
double error )

◆ divide()

◆ doubleValue()

double frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.doubleValue ( )

◆ equals() [1/2]

boolean frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.equals ( final AddableBigDecimal that,
double error )

◆ equals() [2/2]

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

Reimplemented from frodo2.solutionSpaces.AddableBigDecimal.

References MIN_INF.

◆ flipSign()

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

◆ hashCode()

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

◆ intValue()

int frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.intValue ( )

◆ multiply()

◆ readExternal()

void frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.readExternal ( ObjectInput in) throws IOException, ClassNotFoundException
See also
java.io.Externalizable#readExternal(java.io.ObjectInput)

Reimplemented from frodo2.solutionSpaces.AddableBigDecimal.

◆ readResolve()

Object frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.readResolve ( )

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

Returns
singleton object

Reimplemented from frodo2.solutionSpaces.AddableBigDecimal.

References MIN_INF.

◆ subtract()

MinInfinity frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.subtract ( final AddableBigDecimal o)

◆ toString()

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

◆ writeExternal()

void frodo2.solutionSpaces.AddableBigDecimal.MinInfinity.writeExternal ( ObjectOutput out) throws IOException
See also
java.io.Externalizable#writeExternal(java.io.ObjectOutput)

Reimplemented from frodo2.solutionSpaces.AddableBigDecimal.

Member Data Documentation

◆ MIN_INF


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