|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
A module that rescales the problem. More...

Public Member Functions | |
| ProblemRescaler (DCOPProblemInterface<?, U > problem, Element params) | |
| Constructor. | |
| void | setQueue (Queue queue) |
| Collection< MessageType > | getMsgTypes () |
| void | notifyIn (Message msg) |
| Public Member Functions inherited from frodo2.communication.IncomingMsgPolicyInterface< T > | |
| default void | notifyIn (Message msg, Object toAgent) |
| Notifies the listener of an incoming message. | |
Static Public Attributes | |
| static MessageType | START_MSG_TYPE = AgentInterface.START_AGENT |
| The type of the message telling the module to start. | |
| static final MessageType | DONE = new MessageType ("Reformulation", "ProblemRescaler", "DONE") |
| The type of the message sent when this module is done rescaling the problem. | |
Private Attributes | |
| Queue | queue |
| The agent's queue. | |
| final DCOPProblemInterface<?, U > | problem |
| The agent's subproblem. | |
| final boolean | maximize |
| Whether the problem should be made a maximization problem. | |
| U | shift |
| How much should be added to each cost/utility to make them all of the desired sign. | |
A module that rescales the problem.
| <U> | the class used for utility values |
| frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.ProblemRescaler | ( | DCOPProblemInterface<?, U > | problem, |
| Element | params ) |
Constructor.
| problem | The agent's subproblem |
| params | The parameters of the module |
References problem.
| Collection< MessageType > frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.getMsgTypes | ( | ) |
Implements frodo2.communication.MessageListener< T >.
References START_MSG_TYPE.
| void frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.notifyIn | ( | Message | msg | ) |
Implements frodo2.communication.IncomingMsgPolicyInterface< T >.
References DONE, maximize, frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.maximize(), frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.rescale(), frodo2.communication.Queue.sendMessageToSelf(), and frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.setMaximize().

| void frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.setQueue | ( | Queue | queue | ) |
Implements frodo2.communication.MessageListener< T >.
References queue.
|
static |
The type of the message sent when this module is done rescaling the problem.
Referenced by notifyIn().
|
private |
Whether the problem should be made a maximization problem.
Referenced by notifyIn().
|
private |
The agent's subproblem.
Referenced by ProblemRescaler().
|
private |
The agent's queue.
Referenced by setQueue().
|
private |
How much should be added to each cost/utility to make them all of the desired sign.
|
static |
The type of the message telling the module to start.
Referenced by getMsgTypes().