|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|

Public Member Functions | |
| AddableConflicts () | |
| Empty Constructor. | |
| AddableConflicts (U utility, int conflicts) | |
| Constructor. | |
| void | writeExternal (ObjectOutput out) throws IOException |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| boolean | externalize () |
| Object | readResolve () |
| int | compareTo (AddableConflicts< U > o) |
| U | getUtility () |
| AddableConflicts< U > | min (AddableConflicts< U > other) |
| AddableConflicts< U > | max (AddableConflicts< U > other) |
| AddableConflicts< U > | fromString (String str) |
| AddableConflicts< U > | add (AddableConflicts< U > o) |
| AddableDelayed< AddableConflicts< U > > | addDelayed () |
| AddableConflicts< U > | subtract (AddableConflicts< U > o) |
| AddableConflicts< U > | multiply (AddableConflicts< U > o) |
| AddableConflicts< U > | getZero () |
| AddableConflicts< U > | getPlusInfinity () |
| AddableConflicts< U > | getMinInfinity () |
| AddableConflicts< U > | abs () |
| AddableConflicts< U > | divide (AddableConflicts< U > o) |
| AddableConflicts< U > | flipSign () |
| Addable< AddableConflicts< U > >[] | range (AddableConflicts< U > begin, AddableConflicts< U > end) |
| String | toString () |
| int | intValue () |
| double | doubleValue () |
| AddableConflicts< U > | fromInt (int nbr) |
| Public Member Functions inherited from frodo2.solutionSpaces.Addable< AddableConflicts< U > > | |
| 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. | |
Private Attributes | |
| U | utility |
| Utility value. | |
| int | conflicts |
| if utility is infeasible, the number of conflicts, i.e. | |
Static Private Attributes | |
| static final long | serialVersionUID = 9214213454805720095L |
| Used for serialization. | |
| <U> | type used for utility values |
| frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.AddableConflicts | ( | ) |
Empty Constructor.
Referenced by abs(), add(), compareTo(), divide(), flipSign(), fromInt(), fromString(), getMinInfinity(), getPlusInfinity(), getZero(), max(), min(), multiply(), range(), and subtract().
| frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.AddableConflicts | ( | U | utility, |
| int | conflicts ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.abs | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.add | ( | AddableConflicts< U > | o | ) |
References AddableConflicts(), conflicts, and utility.
Referenced by frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.storeOffer().

| AddableDelayed< AddableConflicts< U > > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.addDelayed | ( | ) |
| int frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.compareTo | ( | AddableConflicts< U > | o | ) |
References AddableConflicts(), conflicts, and utility.
Referenced by frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.bestAssignment(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.calculateOffer(), max(), min(), and frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.processIMPROVE().

| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.divide | ( | AddableConflicts< U > | o | ) |
| double frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.doubleValue | ( | ) |
| boolean frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.externalize | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.flipSign | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.fromInt | ( | int | nbr | ) |
References AddableConflicts().

| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.fromString | ( | String | str | ) |
References AddableConflicts().

| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.getMinInfinity | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.getPlusInfinity | ( | ) |
| U frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.getUtility | ( | ) |
References utility.
Referenced by frodo2.algorithms.localSearch.dsa.DSA< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.bestAssignment(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.calculateCurrentUtility(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.calculateCurrentUtility(), frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.calculateCurrentUtility(), frodo2.algorithms.localSearch.mgm.MGM< V extends Addable< V >, U extends Addable< U > >.VariableInfo< V extends Addable< V >, U extends Addable< U > >.calculateUtility(), and frodo2.algorithms.localSearch.mgm.mgm2.MGM2< V extends Addable< V >, U extends Addable< U > >.storeOffer().
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.getZero | ( | ) |
| int frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.intValue | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.max | ( | AddableConflicts< U > | other | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.min | ( | AddableConflicts< U > | other | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.multiply | ( | AddableConflicts< U > | o | ) |
| Addable< AddableConflicts< U > >[] frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.range | ( | AddableConflicts< U > | begin, |
| AddableConflicts< U > | end ) |
References AddableConflicts().

| void frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
References readExternal().
Referenced by readExternal().

| Object frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.readResolve | ( | ) |
| AddableConflicts< U > frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.subtract | ( | AddableConflicts< U > | o | ) |
| String frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.toString | ( | ) |
| void frodo2.solutionSpaces.AddableConflicts< U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
|
private |
if utility is infeasible, the number of conflicts, i.e.
constraints violated
Referenced by add(), AddableConflicts(), compareTo(), multiply(), subtract(), and writeExternal().
|
staticprivate |
Used for serialization.
|
private |
Utility value.
Referenced by add(), AddableConflicts(), compareTo(), divide(), getUtility(), multiply(), subtract(), and writeExternal().