|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This simple heuristic sets all lower bounds to zero, and should be used when running the original adopt. More...

Public Member Functions | |
| SimpleHeuristic (Preprocessing< Val, U > p) | |
| Constructor. | |
| void | init () |
| MessageType | getMsgType () |
| void | processDFSOutput (UtilitySolutionSpace< Val, U > space, List< String > constraint_variables, String var) |
| Does nothing for the simple heuristics. | |
| void | processHeuristicsInfoMessage (UtilitySolutionSpace< Val, U > space, String var) |
| Does nothing for the simple heuristics. | |
| Preprocessing.PreprocessingHeuristic.VariableInfo< Val, U > | getVariableInfo (String var) |
| HeuristicMsg< Val, U > | createHeuristicInfoMessage (VariableInfo< Val, U > varInfo) |
| Does nothing for the simple heuristics. | |
| 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. | |
Package Attributes | |
| Preprocessing< Val, U > | p |
| A link to the parent class. | |
| HashMap< String, VariableInfo< Val, U > > | infos |
| a map containing the information for all the variables | |
This simple heuristic sets all lower bounds to zero, and should be used when running the original adopt.
| <Val> | the type used for variable values |
| <U> | the type used for utility values |
| frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic | ( | Preprocessing< Val, U > | p | ) |
Constructor.
| p | A 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 > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.createHeuristicInfoMessage | ( | VariableInfo< Val, U > | varInfo | ) |
Does nothing for the simple heuristics.
| MessageType frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.getMsgType | ( | ) |
| Preprocessing.PreprocessingHeuristic.VariableInfo< Val, U > frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic< 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 > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.init | ( | ) |
| void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.processDFSOutput | ( | UtilitySolutionSpace< Val, U > | space, |
| List< String > | constraint_variables, | ||
| String | var ) |
Does nothing for the simple heuristics.
| void frodo2.algorithms.adopt.Preprocessing< Val extends Addable< Val >, U extends Addable< U > >.SimpleHeuristic< Val extends Addable< Val >, U extends Addable< U > >.processHeuristicsInfoMessage | ( | UtilitySolutionSpace< Val, U > | space, |
| String | var ) |
Does nothing for the simple heuristics.
|
package |
a map containing the information for all the variables
Referenced by getVariableInfo(), and init().
|
package |
A link to the parent class.
Referenced by init(), and SimpleHeuristic().