|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Class holding a partial assignment for AFB. More...

Public Member Functions | |
| PA (int nbClusters, @SuppressWarnings("rawtypes") Class classOfV, @SuppressWarnings("rawtypes") Class classOfU, U zero) | |
| PA () | |
| Empty constructor used for externalization. | |
| PA< V, U > | clone () |
| String | toString () |
| void | readExternal (ObjectInput in) throws IOException, ClassNotFoundException |
| void | writeExternal (ObjectOutput out) throws IOException |
Package Attributes | |
| V[][] | assignments |
| current assignments | |
| U | c |
| total cost given the assignments up to and including index. | |
| U | zero |
| The zero utility. | |
| int | index |
| position in the assignments vector of the last assignment | |
Private Attributes | |
| Class | classOfV |
| Class of the type used for variable values. | |
| Class | classOfU |
| Class of the type used for variable values. | |
Class holding a partial assignment for AFB.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.PA | ( | int | nbClusters, |
| @SuppressWarnings("rawtypes") Class | classOfV, | ||
| @SuppressWarnings("rawtypes") Class | classOfU, | ||
| U | zero ) |
| nbClusters | The number of clusters in the component. |
| classOfV | Class of the type used for variable values |
| classOfU | Class of the type used for variable values |
| zero | The zero value for type U. |
References classOfU, classOfV, PA(), and zero.
Referenced by clone(), and PA().

| frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.PA | ( | ) |
Empty constructor used for externalization.
| PA< V, U > frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.clone | ( | ) |
References assignments, classOfU, classOfV, clone(), and PA().
Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.assign_CPA(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.backtrack(), clone(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processFbCpa().

| void frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.readExternal | ( | ObjectInput | in | ) | throws IOException, ClassNotFoundException |
References c, and readExternal().
Referenced by frodo2.algorithms.afb.AFBBaseMsg< V extends Addable< V >, U extends Addable< U > >.readExternal(), and readExternal().

| String frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.toString | ( | ) |
Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.backtrack(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processCpaMsg(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processFbCpa(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processFbEstimate().
| void frodo2.algorithms.afb.PA< V extends Addable< V >, U extends Addable< U > >.writeExternal | ( | ObjectOutput | out | ) | throws IOException |
Referenced by frodo2.algorithms.afb.AFBBaseMsg< V extends Addable< V >, U extends Addable< U > >.writeExternal().
|
package |
current assignments
Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.assign_CPA(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.backtrack(), clone(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processCpaMsg().
|
package |
total cost given the assignments up to and including index.
Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.assign_CPA(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processCpaMsg(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processFbEstimate(), and readExternal().
|
private |
|
private |
|
package |
position in the assignments vector of the last assignment
|
package |
The zero utility.
Referenced by PA().