|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An optimal solution to the problem. More...

Public Member Functions | |
| Solution (U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, long totalMsgSize, long maxMsgSize, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes) | |
| Constructor. | |
| Solution (int nbrVariables, U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, long totalMsgSize, long maxMsgSize, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes, int numberOfCoordinationConstraints) | |
| Constructor. | |
| Solution (int nbrVariables, U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, long totalMsgSize, long maxMsgSize, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes, int numberOfCoordinationConstraints, int treeWidth) | |
| Constructor. | |
| Solution (U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, TreeMap< MessageType, Integer > msgNbrs, TreeMap< Object, Integer > msgsNbrsSentPerAgent, TreeMap< Object, Integer > msgsNbrsReceivedPerAgent, long totalMsgSize, TreeMap< MessageType, Long > msgSizes, TreeMap< Object, Long > msgSizesSentPerAgent, TreeMap< Object, Long > msgSizesReveivedPerAgent, long maxMsgSize, TreeMap< MessageType, Long > maxMsgSizes, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes) | |
| Constructor. | |
| Solution (int nbrVariables, U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, TreeMap< MessageType, Integer > msgNbrs, TreeMap< Object, Integer > msgsNbrsSentPerAgent, TreeMap< Object, Integer > msgsNbrsReceivedPerAgent, long totalMsgSize, TreeMap< MessageType, Long > msgSizes, TreeMap< Object, Long > msgSizesSentPerAgent, TreeMap< Object, Long > msgSizesReveivedPerAgent, long maxMsgSize, TreeMap< MessageType, Long > maxMsgSizes, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes, int numberOfCoordinationConstraints) | |
| Constructor. | |
| Solution (int nbrVariables, U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, TreeMap< MessageType, Integer > msgNbrs, TreeMap< Object, Integer > msgsNbrsSentPerAgent, TreeMap< Object, Integer > msgsNbrsReceivedPerAgent, long totalMsgSize, TreeMap< MessageType, Long > msgSizes, TreeMap< Object, Long > msgSizesSentPerAgent, TreeMap< Object, Long > msgSizesReveivedPerAgent, long maxMsgSize, TreeMap< MessageType, Long > maxMsgSizes, long ncccCount, long timeNeeded, HashMap< String, Long > moduleEndTimes, int treeWidth, int numberOfCoordinationConstraints) | |
| Constructor. | |
| Solution (int nbrVariables, U reportedUtil, U trueUtil, Map< String, V > assignments, int nbrMsgs, TreeMap< MessageType, Integer > msgNbrs, TreeMap< Object, Integer > msgsNbrsSentPerAgent, TreeMap< Object, Integer > msgsNbrsReceivedPerAgent, long totalMsgSize, TreeMap< MessageType, Long > msgSizes, TreeMap< Object, Long > msgSizesSentPerAgent, TreeMap< Object, Long > msgSizesReveivedPerAgent, long maxMsgSize, TreeMap< MessageType, Long > maxMsgSizes, long ncccCount, long timeNeeded, long cumulativelTime, HashMap< String, Long > moduleEndTimes, int treeWidth, int numberOfCoordinationConstraints) | |
| Constructor. | |
| U | getReportedUtil () |
| U | getUtility () |
| void | setUtility (U util) |
| Sets the utility. | |
| Map< String, V > | getAssignments () |
| long | getNcccCount () |
| int | getNbrMsgs () |
| void | setNbrMsgs (int nbrMsgsNew) |
| Sets the total number of messages. | |
| long | getTotalMsgSize () |
| long | getMaxMsgSize () |
| void | setTotalMsgSize (long totalMsgSizeNew) |
| Sets the total amount of information exchanged. | |
| long | getTimeNeeded () |
| long | getTotalTime () |
| void | setTimeNeeded (long timeNeededNew) |
| Sets the total runtime. | |
| HashMap< String, Long > | getTimesNeeded () |
| TreeMap< MessageType, Long > | getMsgSizes () |
| TreeMap< MessageType, Long > | getMaxMsgSizes () |
| TreeMap< MessageType, Integer > | getMsgNbrs () |
| int | getTreeWidth () |
| int | getNumberOfCoordinationConstraints () |
| int | getNbrVariables () |
| String | toString () |
| String | toLineString () |
Protected Attributes | |
| U | reportedUtil |
| The reported utility of the solution. | |
| U | trueUtil |
| The true utility of the solution. | |
| Map< String, V > | assignments |
| For each variable, its assignment in the solution found to the problem. | |
| long | ncccCount |
| The number of ncccs used. | |
| long | timeNeeded |
| The time needed to solve the problem. | |
| long | cumulativeTime |
| The cumulative time needed for all agents to find a solution. | |
| HashMap< String, Long > | moduleEndTimes |
| For each module in the algorithm, the time at which it finished. | |
| int | nbrMsgs |
| The number of messages sent by the algorithm. | |
| long | totalMsgSize |
| The total amount of information sent by the algorithm (in bytes). | |
| long | maxMsgSize |
| The size (in bytes) of the largest message. | |
| TreeMap< MessageType, Integer > | msgNbrs |
| The total number of messages that has been sent per message type. | |
| TreeMap< MessageType, Long > | msgSizes |
| The total amount of information that has been sent per message type. | |
| TreeMap< MessageType, Long > | maxMsgSizes |
| For each message type, the size (in bytes) of the largest message of that type. | |
| int | treeWidth = -1 |
| The tree width of the tree on which the algorithm has run. | |
Private Attributes | |
| int | numberOfVariables |
| The number of variables that occur in the problem. | |
| int | numberOfCoordinationConstraints |
| The number of constraints whose variables are owned by different agents. | |
An optimal solution to the problem.
| <V> | type used for variable values |
| <U> | type used for utility values |
| frodo2.algorithms.Solution< V, U >.Solution | ( | U | reportedUtil, |
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| long | totalMsgSize, | ||
| long | maxMsgSize, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes ) |
Constructor.
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| totalMsgSize | The total message size |
| maxMsgSize | the size (in bytes) of the largest message |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
References assignments, maxMsgSize, moduleEndTimes, nbrMsgs, ncccCount, reportedUtil, timeNeeded, totalMsgSize, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | int | nbrVariables, |
| U | reportedUtil, | ||
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| long | totalMsgSize, | ||
| long | maxMsgSize, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes, | ||
| int | numberOfCoordinationConstraints ) |
Constructor.
| nbrVariables | the total number of variables in the problem |
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| totalMsgSize | The total message size |
| maxMsgSize | the size (in bytes) of the largest message |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
| numberOfCoordinationConstraints | the number of constraints that contain variables that are owned by different agents |
References assignments, maxMsgSize, moduleEndTimes, nbrMsgs, ncccCount, numberOfCoordinationConstraints, reportedUtil, timeNeeded, totalMsgSize, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | int | nbrVariables, |
| U | reportedUtil, | ||
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| long | totalMsgSize, | ||
| long | maxMsgSize, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes, | ||
| int | numberOfCoordinationConstraints, | ||
| int | treeWidth ) |
Constructor.
| nbrVariables | the total number of variables in the problem |
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| totalMsgSize | The total message size |
| maxMsgSize | the size (in bytes) of the largest message |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
| numberOfCoordinationConstraints | the number of constraints that contain variables that are owned by different agents |
| treeWidth | the width of the tree on which the algorithm has run |
References assignments, maxMsgSize, moduleEndTimes, nbrMsgs, ncccCount, numberOfCoordinationConstraints, reportedUtil, timeNeeded, totalMsgSize, treeWidth, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | U | reportedUtil, |
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| TreeMap< MessageType, Integer > | msgNbrs, | ||
| TreeMap< Object, Integer > | msgsNbrsSentPerAgent, | ||
| TreeMap< Object, Integer > | msgsNbrsReceivedPerAgent, | ||
| long | totalMsgSize, | ||
| TreeMap< MessageType, Long > | msgSizes, | ||
| TreeMap< Object, Long > | msgSizesSentPerAgent, | ||
| TreeMap< Object, Long > | msgSizesReveivedPerAgent, | ||
| long | maxMsgSize, | ||
| TreeMap< MessageType, Long > | maxMsgSizes, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes ) |
Constructor.
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| msgNbrs | The number of messages sent per message type |
| msgsNbrsSentPerAgent | the number of message sent by each agent |
| msgsNbrsReceivedPerAgent | the number of messages received by each agent |
| totalMsgSize | The total message size |
| msgSizes | The amount of information sent per message type |
| msgSizesSentPerAgent | the amount of information sent by each agent, in bytes |
| msgSizesReveivedPerAgent | the amount of information received by each agent, in bytes |
| maxMsgSize | the size (in bytes) of the largest message |
| maxMsgSizes | for each message type, the size (in bytes) of the largest message of that type |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
References assignments, maxMsgSize, maxMsgSizes, moduleEndTimes, msgNbrs, msgSizes, nbrMsgs, ncccCount, reportedUtil, timeNeeded, totalMsgSize, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | int | nbrVariables, |
| U | reportedUtil, | ||
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| TreeMap< MessageType, Integer > | msgNbrs, | ||
| TreeMap< Object, Integer > | msgsNbrsSentPerAgent, | ||
| TreeMap< Object, Integer > | msgsNbrsReceivedPerAgent, | ||
| long | totalMsgSize, | ||
| TreeMap< MessageType, Long > | msgSizes, | ||
| TreeMap< Object, Long > | msgSizesSentPerAgent, | ||
| TreeMap< Object, Long > | msgSizesReveivedPerAgent, | ||
| long | maxMsgSize, | ||
| TreeMap< MessageType, Long > | maxMsgSizes, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes, | ||
| int | numberOfCoordinationConstraints ) |
Constructor.
| nbrVariables | the total number of variables in the problem |
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| msgNbrs | The number of messages sent per message type |
| msgsNbrsSentPerAgent | the number of message sent by each agent |
| msgsNbrsReceivedPerAgent | the number of messages received by each agent |
| totalMsgSize | The total message size |
| msgSizes | The amount of information sent per message type |
| msgSizesSentPerAgent | the amount of information sent by each agent, in bytes |
| msgSizesReveivedPerAgent | the amount of information received by each agent, in bytes |
| maxMsgSize | the size (in bytes) of the largest message |
| maxMsgSizes | for each message type, the size (in bytes) of the largest message of that type |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
| numberOfCoordinationConstraints | the number of constraints that contain variables that are owned by different agents |
References assignments, maxMsgSize, maxMsgSizes, moduleEndTimes, msgNbrs, msgSizes, nbrMsgs, ncccCount, numberOfCoordinationConstraints, reportedUtil, timeNeeded, totalMsgSize, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | int | nbrVariables, |
| U | reportedUtil, | ||
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| TreeMap< MessageType, Integer > | msgNbrs, | ||
| TreeMap< Object, Integer > | msgsNbrsSentPerAgent, | ||
| TreeMap< Object, Integer > | msgsNbrsReceivedPerAgent, | ||
| long | totalMsgSize, | ||
| TreeMap< MessageType, Long > | msgSizes, | ||
| TreeMap< Object, Long > | msgSizesSentPerAgent, | ||
| TreeMap< Object, Long > | msgSizesReveivedPerAgent, | ||
| long | maxMsgSize, | ||
| TreeMap< MessageType, Long > | maxMsgSizes, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| HashMap< String, Long > | moduleEndTimes, | ||
| int | treeWidth, | ||
| int | numberOfCoordinationConstraints ) |
Constructor.
| nbrVariables | the total number of variables in the problem |
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| msgNbrs | The number of messages sent per message type |
| msgsNbrsSentPerAgent | the number of message sent by each agent |
| msgsNbrsReceivedPerAgent | the number of messages received by each agent |
| totalMsgSize | The total message size |
| msgSizes | The amount of information sent per message type |
| msgSizesSentPerAgent | the amount of information sent by each agent, in bytes |
| msgSizesReveivedPerAgent | the amount of information received by each agent, in bytes |
| maxMsgSize | the size (in bytes) of the largest message |
| maxMsgSizes | for each message type, the size (in bytes) of the largest message of that type |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| moduleEndTimes | each module's end time |
| treeWidth | the width of the tree on which the algorithm has run |
| numberOfCoordinationConstraints | the number of constraints that contain variables that are owned by different agents |
References assignments, maxMsgSize, maxMsgSizes, moduleEndTimes, msgNbrs, msgSizes, nbrMsgs, ncccCount, numberOfCoordinationConstraints, reportedUtil, timeNeeded, totalMsgSize, treeWidth, and trueUtil.
| frodo2.algorithms.Solution< V, U >.Solution | ( | int | nbrVariables, |
| U | reportedUtil, | ||
| U | trueUtil, | ||
| Map< String, V > | assignments, | ||
| int | nbrMsgs, | ||
| TreeMap< MessageType, Integer > | msgNbrs, | ||
| TreeMap< Object, Integer > | msgsNbrsSentPerAgent, | ||
| TreeMap< Object, Integer > | msgsNbrsReceivedPerAgent, | ||
| long | totalMsgSize, | ||
| TreeMap< MessageType, Long > | msgSizes, | ||
| TreeMap< Object, Long > | msgSizesSentPerAgent, | ||
| TreeMap< Object, Long > | msgSizesReveivedPerAgent, | ||
| long | maxMsgSize, | ||
| TreeMap< MessageType, Long > | maxMsgSizes, | ||
| long | ncccCount, | ||
| long | timeNeeded, | ||
| long | cumulativelTime, | ||
| HashMap< String, Long > | moduleEndTimes, | ||
| int | treeWidth, | ||
| int | numberOfCoordinationConstraints ) |
Constructor.
| nbrVariables | the total number of variables in the problem |
| reportedUtil | the reported optimal utility |
| trueUtil | the true optimal utility |
| assignments | the optimal assignments |
| nbrMsgs | The total number of messages sent |
| msgNbrs | The number of messages sent per message type |
| msgsNbrsSentPerAgent | the number of message sent by each agent |
| msgsNbrsReceivedPerAgent | the number of messages received by each agent |
| totalMsgSize | The total message size |
| msgSizes | The amount of information sent per message type |
| msgSizesSentPerAgent | the amount of information sent by each agent, in bytes |
| msgSizesReveivedPerAgent | the amount of information received by each agent, in bytes |
| maxMsgSize | the size (in bytes) of the largest message |
| maxMsgSizes | for each message type, the size (in bytes) of the largest message of that type |
| ncccCount | the ncccs used |
| timeNeeded | the time needed to solve the problem |
| cumulativelTime | the cumulative time needed by all the agents to terminate |
| moduleEndTimes | each module's end time |
| treeWidth | the width of the tree on which the algorithm has run |
| numberOfCoordinationConstraints | the number of constraints that contain variables that are owned by different agents |
References assignments, maxMsgSize, maxMsgSizes, moduleEndTimes, msgNbrs, msgSizes, nbrMsgs, ncccCount, numberOfCoordinationConstraints, reportedUtil, timeNeeded, totalMsgSize, treeWidth, and trueUtil.
| Map< String, V > frodo2.algorithms.Solution< V, U >.getAssignments | ( | ) |
References assignments.
Referenced by frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.maxsum.tests.MaxSumTests< V extends Addable< V >, U extends Addable< U > >.test(), and frodo2.solutionSpaces.vehiclerouting.test.VRPtests.test().
| long frodo2.algorithms.Solution< V, U >.getMaxMsgSize | ( | ) |
| TreeMap< MessageType, Long > frodo2.algorithms.Solution< V, U >.getMaxMsgSizes | ( | ) |
| TreeMap< MessageType, Integer > frodo2.algorithms.Solution< V, U >.getMsgNbrs | ( | ) |
Referenced by frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testAddDisconnected().
| TreeMap< MessageType, Long > frodo2.algorithms.Solution< V, U >.getMsgSizes | ( | ) |
Referenced by frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testReuse().
| int frodo2.algorithms.Solution< V, U >.getNbrMsgs | ( | ) |
References nbrMsgs.
Referenced by frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), and frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats().
| int frodo2.algorithms.Solution< V, U >.getNbrVariables | ( | ) |
| long frodo2.algorithms.Solution< V, U >.getNcccCount | ( | ) |
References ncccCount.
Referenced by frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats(), and frodo2.solutionSpaces.vehiclerouting.test.VRPtests.test().
| int frodo2.algorithms.Solution< V, U >.getNumberOfCoordinationConstraints | ( | ) |
| U frodo2.algorithms.Solution< V, U >.getReportedUtil | ( | ) |
References reportedUtil.
Referenced by frodo2.algorithms.dpop.stochastic.test.E_DPOPagentTest< V extends Addable< V > >.checkOutput(), frodo2.solutionSpaces.JaCoP.tests.JaCoPproblemTest< V extends Addable< V > >.solve(), frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testGeneric(), frodo2.algorithms.dpop.privacy.test.P_DPOPagentTest< V extends Addable< V > >.testP_DPOPvsDPOP(), and frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testReuse().
| long frodo2.algorithms.Solution< V, U >.getTimeNeeded | ( | ) |
Referenced by frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), and frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats().
| HashMap< String, Long > frodo2.algorithms.Solution< V, U >.getTimesNeeded | ( | ) |
| long frodo2.algorithms.Solution< V, U >.getTotalMsgSize | ( | ) |
References totalMsgSize.
Referenced by frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), and frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats().
| long frodo2.algorithms.Solution< V, U >.getTotalTime | ( | ) |
| int frodo2.algorithms.Solution< V, U >.getTreeWidth | ( | ) |
Referenced by frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats(), and frodo2.algorithms.dpop.memory.tests.MB_DPOPagentTest.test().
| U frodo2.algorithms.Solution< V, U >.getUtility | ( | ) |
References trueUtil.
Referenced by frodo2.algorithms.afb.test.AFBagentTest< V extends Addable< V >, U extends Addable< U > >.checkOutput(), frodo2.algorithms.synchbb.test.SynchBBagentTest< V extends Addable< V >, U extends Addable< U > >.checkOutput(), frodo2.algorithms.AbstractSolver< P extends ProblemInterface< V, U, V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.plotStats(), frodo2.algorithms.duct.DUCTsolver< V extends Addable< V > >.plotStats(), frodo2.solutionSpaces.JaCoP.tests.JaCoPproblemTest< V extends Addable< V > >.solve(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.asodpop.tests.ASODPOPTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.dpop.memory.tests.MB_DPOPagentTest.test(), frodo2.algorithms.dpop.privacy.test.P2_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.dpop.privacy.test.P3halves_DPOPagentTest< V extends Addable< V >, E extends AddableLimited< AddableInteger, E >.test(), frodo2.algorithms.maxsum.tests.MaxSumTests< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.mpc_discsp.tests.MPC_DisWCSP4tests.test(), frodo2.algorithms.odpop.tests.UTILpropagationTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.algorithms.odpop.tests.VALUEpropagationTest< V extends Addable< V >, U extends Addable< U > >.test(), frodo2.solutionSpaces.vehiclerouting.test.VRPtests.test(), frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testGeneric(), frodo2.algorithms.dpop.privacy.test.P_DPOPagentTest< V extends Addable< V > >.testP_DPOPvsDPOP(), frodo2.solutionSpaces.JaCoP.tests.JaCoPtests< V extends Addable< V > >.testProblemFromRepository(), frodo2.solutionSpaces.JaCoP.tests.JaCoPtests< V extends Addable< V > >.testRandomExtensionalProblem(), and frodo2.algorithms.dpop.restart.test.TestSDPOP< V extends Addable< V >, U extends Addable< U > >.testReuse().
| void frodo2.algorithms.Solution< V, U >.setNbrMsgs | ( | int | nbrMsgsNew | ) |
Sets the total number of messages.
| nbrMsgsNew | new total number of messages |
References nbrMsgs.
| void frodo2.algorithms.Solution< V, U >.setTimeNeeded | ( | long | timeNeededNew | ) |
| void frodo2.algorithms.Solution< V, U >.setTotalMsgSize | ( | long | totalMsgSizeNew | ) |
Sets the total amount of information exchanged.
| totalMsgSizeNew | new total amount of information exchanged |
References totalMsgSize.
| void frodo2.algorithms.Solution< V, U >.setUtility | ( | U | util | ) |
Sets the utility.
| util | the utility |
| String frodo2.algorithms.Solution< V, U >.toLineString | ( | ) |
Referenced by frodo2.algorithms.AbstractDCOPsolver< V extends Addable< V >, U extends Addable< U >, S extends Solution< V, U >.main().
| String frodo2.algorithms.Solution< V, U >.toString | ( | ) |
Reimplemented in frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >, frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >, and frodo2.algorithms.odpop.ODPOPsolution< V, U >.
|
protected |
For each variable, its assignment in the solution found to the problem.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getAssignments(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The cumulative time needed for all agents to find a solution.
Referenced by frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution().
|
protected |
The size (in bytes) of the largest message.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
For each message type, the size (in bytes) of the largest message of that type.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
For each module in the algorithm, the time at which it finished.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The total number of messages that has been sent per message type.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The total amount of information that has been sent per message type.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The number of messages sent by the algorithm.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getNbrMsgs(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), setNbrMsgs(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The number of ncccs used.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getNcccCount(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
private |
The number of constraints whose variables are owned by different agents.
Referenced by frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), and Solution().
|
private |
The number of variables that occur in the problem.
|
protected |
The reported utility of the solution.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getReportedUtil(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The time needed to solve the problem.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), setTimeNeeded(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The total amount of information sent by the algorithm (in bytes).
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getTotalMsgSize(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), setTotalMsgSize(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The tree width of the tree on which the algorithm has run.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().
|
protected |
The true utility of the solution.
Referenced by frodo2.algorithms.asodpop.ASODPOPsolution< V extends Addable< V >, U >.ASODPOPsolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), frodo2.algorithms.duct.DUCTSolution< V extends Addable< V > >.DUCTSolution(), getUtility(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), frodo2.algorithms.odpop.ODPOPsolution< V, U >.ODPOPsolution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), Solution(), frodo2.algorithms.SolutionWithConvergence< V extends Addable< V >, U >.SolutionWithConvergence(), and frodo2.algorithms.dpop.stochastic.E_DPOPsolver< V extends Addable< V >, U extends Addable< U > >.StochSolution< V, U >.StochSolution().