FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo Class Reference

A class containing all the useful information about one of the agent's variables. More...

Public Member Functions

String toString ()

Private Member Functions

 VarInfo (String name, Collection< String > neighbors)
 Constructor.

Private Attributes

final String name
 The variable name.
DFSview< V, ?> dfsView
 The variable's view of the DFS.
final Collection< String > neighbors
 The neighboring variables.
final HashMap< String, V[]> sep = new HashMap<String, V[]> ()
 The variable's separator.
final HashMap< String, V[]> ccs = new HashMap<String, V[]> ()
 The CC nodes below this variable, with their domains.
int nbrMsgsLeft = 0
 The number of label messages we are still waiting for from children.

Detailed Description

A class containing all the useful information about one of the agent's variables.

Constructor & Destructor Documentation

◆ VarInfo()

frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.VarInfo ( String name,
Collection< String > neighbors )
private

Constructor.

Parameters
nameThe variable name
neighborsThe neighboring variables

References name, and neighbors.

Member Function Documentation

◆ toString()

String frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.toString ( )
See also
java.lang.Object#toString()

Member Data Documentation

◆ ccs

final HashMap<String, V[]> frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.ccs = new HashMap<String, V[]> ()
private

The CC nodes below this variable, with their domains.

Referenced by frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn().

◆ dfsView

DFSview<V, ?> frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.dfsView
private

◆ name

final String frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.name
private

◆ nbrMsgsLeft

int frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.nbrMsgsLeft = 0
private

The number of label messages we are still waiting for from children.

Referenced by frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn().

◆ neighbors

final Collection<String> frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.neighbors
private

◆ sep

final HashMap<String, V[]> frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.VarInfo.sep = new HashMap<String, V[]> ()
private

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