|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Implementation of the DP1 heuristic. More...

Classes | |
| class | VariableInfo |
| Container for information belonging to a specific variable. More... | |
Public Member Functions | |
| DP1 (Preprocessing< Val, U > p) | |
| Constructor. | |
| void | init () |
| Initializes variables. | |
| MessageType | getMsgType () |
| void | processDFSOutput (UtilitySolutionSpace< Val, U > space, List< String > constraint_variables, String var) |
| void | processHeuristicsInfoMessage (UtilitySolutionSpace< Val, U > space, String var) |
| Preprocessing.PreprocessingHeuristic.VariableInfo< Val, U > | getVariableInfo (String var) |
| HeuristicMsg< Val, U > | createHeuristicInfoMessage (PreprocessingHeuristic.VariableInfo< Val, U > var) |
| Public Member Functions inherited from frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val, U > | |
| void | init () |
| Initializes the variableInfo container. | |
| MessageType | getMsgType () |
| Report the messages this heuristic shall be listening to. | |
| VariableInfo< Val, U > | getVariableInfo (String var) |
Returns the variable info for var. | |
| void | processDFSOutput (UtilitySolutionSpace< Val, U > space, List< String > constraint_variables, String var) |
| Method to process a space controlled by this variable. | |
| void | processHeuristicsInfoMessage (UtilitySolutionSpace< Val, U > space, String var) |
| Method to process a space received from a child. | |
| HeuristicMsg< Val, U > | createHeuristicInfoMessage (VariableInfo< Val, U > varInfo) |
| Creates the heuristics information message by taking the join of h and c, and projecting out its own variable. | |
Static Public Attributes | |
| static final MessageType | HEURISTIC_INFO_TYPE = new MessageType ("ADOPT", "Preprocessing", "DP1 heuristic info") |
| The type of the heuristic message send by this heuristic. | |
Private Attributes | |
| Preprocessing< Val, U > | p |
| A link to the parent class. | |
| HashMap< String, VariableInfo > | infos |
| Map to the information belonging to different variables. | |
Implementation of the DP1 heuristic.
| <Val> | the type used to represent domain elements |
| <U> | the type used to represent utility values |
| frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.DP1 | ( | Preprocessing< Val, U > | p | ) |
Constructor.
| p | the link to the parent class |
References p, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.Preprocessing().

| HeuristicMsg< Val, U > frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.createHeuristicInfoMessage | ( | PreprocessingHeuristic.VariableInfo< Val, U > | var | ) |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.c, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.h, HEURISTIC_INFO_TYPE, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.parent, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.variableID.
| MessageType frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.getMsgType | ( | ) |
References HEURISTIC_INFO_TYPE.
| Preprocessing.PreprocessingHeuristic.VariableInfo< Val, U > frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.getVariableInfo | ( | String | var | ) |
References infos, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.Preprocessing().

| void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.processDFSOutput | ( | UtilitySolutionSpace< Val, U > | space, |
| List< String > | constraint_variables, | ||
| String | var ) |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.c, infos, and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.parent.
| void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.processHeuristicsInfoMessage | ( | UtilitySolutionSpace< Val, U > | space, |
| String | var ) |
References frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.h, frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.PreprocessingHeuristic< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo< Val extends Addable< Val >, U extends Addable< U > >.infoCounter, and infos.
|
static |
The type of the heuristic message send by this heuristic.
Referenced by createHeuristicInfoMessage(), and getMsgType().
|
private |
Map to the information belonging to different variables.
Referenced by getVariableInfo(), init(), processDFSOutput(), and processHeuristicsInfoMessage().
|
private |
A link to the parent class.
Referenced by DP1(), init(), frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.setParent(), and frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.DP1< Val extends Addable< Val >, U extends Addable< U > >.VariableInfo.VariableInfo().