FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo Class Reference

The information about a particular component of the constraint graph. More...

Private Member Functions

 ComponentInfo (List< List< String > > order)
 Constructor.
 ComponentInfo ()
 Empty constructor.

Private Attributes

boolean solutionSent = false
 Indicates if a solution message was sent for this component to avoid duplication.
ArrayList< ClusterInfoclusterInfos
 Array of ClusterInfos, in the same order as in the variable order used (i.e.
HashMap< String, ClusterInfoinfoForCluster
 For each internal cluster of variables in this component, its ClusterInfo.
HashMap< String, Integer > varIndexes = new HashMap<String, Integer> ()
 For each internal variable, the index of its cluster in the order.
ArrayList< String > clusterAgents
 Array of agents(strings), in the same order as in the variable order used.
String[][] order
 The variable order.
UtilitySolutionSpace< V, U >[] h
 The computed h for each cluster in the ordering.
V[][] bestSol
 The best solution found so far.
B = problem.getPlusInfUtility()
 The cost of the best solution found so far, upper bound.
TreeMap< Long, V[][]> history
 The best known solution at various timestamps.
HashSet< String > agents
 The set of all agents involved in this component.

Detailed Description

The information about a particular component of the constraint graph.

Constructor & Destructor Documentation

◆ ComponentInfo() [1/2]

frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.ComponentInfo ( List< List< String > > order)
private

Constructor.

Parameters
orderthe variable order

References frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.convergence, and order.

◆ ComponentInfo() [2/2]

frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.ComponentInfo ( )
private

Member Data Documentation

◆ agents

HashSet<String> frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.agents
private

◆ B

◆ bestSol

◆ clusterAgents

◆ clusterInfos

ArrayList<ClusterInfo> frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.clusterInfos
private

◆ h

UtilitySolutionSpace<V,U> [] frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.h
private

The computed h for each cluster in the ordering.

This is computed for each cluster owned by the current agent, and for each possible value for that cluster.

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 > >.f(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering().

◆ history

TreeMap<Long, V[][]> frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.history
private

◆ infoForCluster

HashMap<String, ClusterInfo> frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.infoForCluster
private

For each internal cluster of variables in this component, its ClusterInfo.

Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering().

◆ order

◆ solutionSent

boolean frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.ComponentInfo.solutionSent = false
private

Indicates if a solution message was sent for this component to avoid duplication.

Referenced by frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.terminate().

◆ varIndexes


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