|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
The subproblem to be solved by a given agent. More...

Public Member Functions | |
| Set< String > | getAllVars () |
| Set< String > | getVariables () |
| Set< String > | getVariables (String owner) |
| Returns the set of variables owned by a given agent. | |
| Set< String > | getMyVars () |
| Set< String > | getRandVars () |
| int | getNbrIntVars () |
| int | getNbrVars () |
| int | getNbrVars (String agent) |
| Returns the number of variables owned by the input agent. | |
| Set< String > | getExtVars () |
| Set< String > | getAnonymVars () |
| boolean | addVariable (String name, String owner, String domain) |
| Adds a new variable. | |
| boolean | addVariable (String name, String owner, V[] domain) |
| Adds a new variable. | |
| V[] | getDomain (String var) |
| Looks up the domain of a variable. | |
| int | getDomainSize (String var) |
| Returns the size of the domain of the input variable. | |
| boolean | isRandom (String var) |
| Returns whether the input variable is defined as a random variable. | |
| boolean | maximize () |
| void | setMaximize (boolean maximize) |
| Sets whether utility should be maximized, or cost minimized. | |
| void | rescale (U multiply, U add) |
| Rescales the problem. | |
| void | setDomain (String var, V[] dom) |
| Sets the domain of a variable. | |
| Map< String, String > | getOwners () |
| String | getOwner (String var) |
| Returns the name of the agent owning the input variable. | |
| boolean | setOwner (String var, String owner) |
| Sets the owner agent for the input variable. | |
| Map< String, Set< String > > | getAgentNeighborhoods () |
| Map< String, Set< String > > | getAgentNeighborhoods (String owner) |
| Gets the agent neighborhoods. | |
| Map< String, Set< String > > | getVarScopes () |
| Map< String, Set< String > > | getNeighborhoods () |
| Returns the neighborhood of each internal variable. | |
| Map< String, Set< String > > | getNeighborhoods (String agent) |
| Returns the neighborhood of each variable owned by the input agent. | |
| Map< String, Set< String > > | getNeighborhoods (String agent, final boolean withAnonymVars, final boolean onlyAnonymVars) |
| Returns the neighborhood of each variable owned by the input agent. | |
| Map< String, Set< String > > | getAnonymNeighborhoods () |
| Map< String, Set< String > > | getAnonymNeighborhoods (String agent) |
| For each variable owned by the input agent, return its collection of neighbors with no specified owner. | |
| Map< String, Integer > | getNeighborhoodSizes () |
| Returns the number of neighboring variables of all internal variables. | |
| Map< String, Integer > | getNeighborhoodSizes (String agent) |
| Returns the number of neighboring variables of all variables owned by the input agent. | |
| Collection< String > | getNeighborVars (String var) |
| Returns the neighbors of the given variable. | |
| HashSet< String > | getNeighborVars (String var, final boolean withAnonymVars) |
| Returns the collection of neighbors of a given variable. | |
| int | getNbrNeighbors (String var) |
| Extracts the number of neighbors of an input variable. | |
| int | getNbrNeighbors (String var, final boolean withAnonymVars) |
| Extracts the number of neighbors of an input variable. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces () |
| Returns the solution spaces in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces (final boolean withAnonymVars) |
| Returns the solution spaces in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces (String var, Set< String > forbiddenVars) |
| Returns the solution spaces involving the input variable and none of the forbidden variables. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces (String var, final boolean withAnonymVars) |
| Extracts solution spaces involving the input variable from the constraints in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces (String var, final boolean withAnonymVars, Set< String > forbiddenVars) |
| Extracts solution spaces involving the input variable from the constraints in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getSolutionSpaces (Set< String > vars, final boolean withAnonymVars, Set< String > forbiddenVars) |
| Extracts solution spaces involving the input variables from the constraints in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getProbabilitySpaces () |
| Returns the probability spaces in the problem. | |
| Map< String, ? extends UtilitySolutionSpace< V, U > > | getProbabilitySpacePerRandVar () |
| Returns the probability space of each random variable in the problem. | |
| List< ? extends UtilitySolutionSpace< V, U > > | getProbabilitySpaces (String var) |
| Returns the probability spaces involving the input variable. | |
| void | setProbSpace (String var, Map< V, Double > prob) |
| Adds to the problem a probability space for the input random variable. | |
| boolean | removeSpace (String name) |
| Removes the space with the given name. | |
| boolean | addSolutionSpace (UtilitySolutionSpace< V, U > space) |
| Adds a solution space to the problem. | |
| UtilitySolutionSpace< V, U > | addUnarySpace (String name, String var, V[] dom, U[] valuations) |
| Add a unary solution space to the problem. | |
| UtilitySolutionSpace< V, U > | getUtility (Map< String, V > assignments) |
| Computes the total utility of the input assignment to variables, ignoring variables with no specified owner. | |
| UtilitySolutionSpace< V, U > | getUtility (Map< String, V > assignments, final boolean withAnonymVars) |
| Computes the total utility of the input assignment to variables. | |
| UtilitySolutionSpace< V, U > | getExpectedUtility (Map< String, V > assignments) |
| Computes the expectation over the random variables of the utility for the input assignments. | |
| UtilitySolutionSpace< V, U > | getParamUtility (Map< String[], BasicUtilitySolutionSpace< V, ArrayList< V > > > assignments) |
| Computes the total utility of the input assignment to variables, conditioned on the values of parameters. | |
| int | getNumberOfCoordinationConstraints () |
| Returns the number of spaces that are shared between different agents. | |
| DCOPProblemInterface< V, U > | getSubProblem (String agent) |
| void | ground (String var, V val) |
| Adds a constraint that enforces that var = val. | |
| boolean | addAgent (String agent) |
| Adds an agent to the problem. | |
| Public Member Functions inherited from frodo2.solutionSpaces.ProblemInterface< V, U > | |
| void | reset (ProblemInterface< V, U > newProblem) |
| Resets this problem to be the same as the input one. | |
| void | setDomClass (Class< V > domClass) |
| Sets the class to be used for variable values. | |
| Class< V > | getDomClass () |
| void | setUtilClass (Class< U > utilClass) |
| Sets the class to be used for utility values. | |
| Class< U > | getUtilClass () |
| U | getZeroUtility () |
| U | getPlusInfUtility () |
| U | getMinInfUtility () |
| String | getAgent () |
| Set< String > | getAgents () |
| ProblemInterface< V, U > | getSubProblem (String agent) |
| Builds the subproblem description for a given agent by extracting it from the overall problem description. | |
| boolean | multipleTypes () |
| void | incrNCCCs (long incr) |
| Increments the number of constraint checks. | |
| long | getNCCCs () |
| void | setNCCCs (long ncccs) |
| Sets the NCCC count. | |
The subproblem to be solved by a given agent.
| <V> | the type used for variable values |
| <U> | the type used for utility values |
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.addAgent | ( | String | agent | ) |
Adds an agent to the problem.
| agent | the name of the agent |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.addSolutionSpace | ( | UtilitySolutionSpace< V, U > | space | ) |
Adds a solution space to the problem.
| space | the solution space |
true if the space was added, false if the space's name is null or is already taken Referenced by frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.addUnarySpace().
| UtilitySolutionSpace< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.addUnarySpace | ( | String | name, |
| String | var, | ||
| V[] | dom, | ||
| U[] | valuations ) |
Add a unary solution space to the problem.
| name | the name of the space |
| var | the unique variable in the space's scope |
| dom | the allowed variable values |
| valuations | the valuation for each variable value |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn().
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.addVariable | ( | String | name, |
| String | owner, | ||
| String | domain ) |
Adds a new variable.
| name | variable name |
| owner | name of the variable's agent |
| domain | reference to the variable's domain |
true if the variable was added, false if a variable with the same name already exists or no domain with given name exists Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.addVariable | ( | String | name, |
| String | owner, | ||
| V[] | domain ) |
Adds a new variable.
| name | variable name |
| owner | name of the variable's agent |
| domain | variable domain |
true if the variable was added, false if a variable with the same name already exists | Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAgentNeighborhoods | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.gui.jung.JungVisualizer.drawEdges(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.factorGraphToDOT(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.dpop.privacy.test.VariableObfuscationTest< V extends Addable< V > >.randomTest(), and frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.setUp().
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAgentNeighborhoods | ( | String | owner | ) |
Gets the agent neighborhoods.
| owner | the owner agent, or null if we want all variables |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAllVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener().
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAnonymNeighborhoods | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >, and frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAnonymNeighborhoods | ( | String | agent | ) |
For each variable owned by the input agent, return its collection of neighbors with no specified owner.
| agent | the agent |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >, and frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getAnonymVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| V[] frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getDomain | ( | String | var | ) |
Looks up the domain of a variable.
| var | the name of the variable |
null if the variable or its domain is unknown Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.randomDomain(), frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RerootRequester(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.test.ProblemTest.testGetDomain(), frodo2.algorithms.test.XCSPparserTest.testGetDomain(), frodo2.algorithms.test.XCSPparserTest.testGetDomainSize(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getDomainSize | ( | String | var | ) |
Returns the size of the domain of the input variable.
| var | the variable |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.checkModulus(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.MaxWidthMinDom.getScore(), frodo2.algorithms.heuristics.SmallestDomainHeuristic.getScores(), frodo2.algorithms.test.ProblemTest.testGetDomainSize(), frodo2.algorithms.test.XCSPparserTest.testGetDomainSize(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| UtilitySolutionSpace< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getExpectedUtility | ( | Map< String, V > | assignments | ) |
Computes the expectation over the random variables of the utility for the input assignments.
| assignments | values for variables |
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getExtVars | ( | ) |
Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
Referenced by frodo2.algorithms.test.XCSPparserTest.testGetExtVars().
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getMyVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.stochastic.CompleteUTIL< Val extends Addable< Val >, U extends Addable< U > >.centralization(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.init(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.varOrdering.linear.CentralLinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), and frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering().
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrIntVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.VALUEpropagation< Val extends Addable< Val > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), and frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.start().
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrNeighbors | ( | String | var | ) |
Extracts the number of neighbors of an input variable.
| var | the variable |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.init(), frodo2.algorithms.dpop.privacy.EncryptedUTIL< V extends Addable< V >, U extends Addable< U >, E extends AddableLimited< U, E >.notifyIn(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.test.ProblemTest.testGetNbrNeighbors().
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrNeighbors | ( | String | var, |
| final boolean | withAnonymVars ) |
Extracts the number of neighbors of an input variable.
| var | the variable |
| withAnonymVars | if false, ignores variables with no specified owner |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.heuristics.RandScoringHeuristic.getScores(), frodo2.algorithms.heuristics.SmallestDomainHeuristic.getScores(), frodo2.algorithms.heuristics.VarNameHeuristic.getScores(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.LabelingPhase(), and frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.printDFS().
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNbrVars | ( | String | agent | ) |
Returns the number of variables owned by the input agent.
| agent | the agent |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborhoods | ( | ) |
Returns the neighborhood of each internal variable.
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), and frodo2.algorithms.dpop.privacy.SecureCircularRouting.notifyIn().
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborhoods | ( | String | agent | ) |
Returns the neighborhood of each variable owned by the input agent.
| agent | the agent |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborhoods | ( | String | agent, |
| final boolean | withAnonymVars, | ||
| final boolean | onlyAnonymVars ) |
Returns the neighborhood of each variable owned by the input agent.
| agent | the agent |
| withAnonymVars | if false, ignores variables with no specified owner |
| onlyAnonymVars | if true, only considers variables with no specified owner (in which case this superseeds withAnonymVars) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Map< String, Integer > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborhoodSizes | ( | ) |
Returns the number of neighboring variables of all internal variables.
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Map< String, Integer > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborhoodSizes | ( | String | agent | ) |
Returns the number of neighboring variables of all variables owned by the input agent.
| agent | name of the agent |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Collection< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborVars | ( | String | var | ) |
Returns the neighbors of the given variable.
| var | the variable |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.MaxWidthMinDom.getScore().
| HashSet< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNeighborVars | ( | String | var, |
| final boolean | withAnonymVars ) |
Returns the collection of neighbors of a given variable.
| var | the name of the variable |
| withAnonymVars | if false, ignores variables with no specified owner |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| int frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getNumberOfCoordinationConstraints | ( | ) |
Returns the number of spaces that are shared between different agents.
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| String frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getOwner | ( | String | var | ) |
Returns the name of the agent owning the input variable.
| var | the name of the variable |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.computeDFS(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.factorGraphToDOT(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.dpop.memory.LabelingPhase< V extends Addable< V > >.notifyIn(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), and frodo2.algorithms.test.ProblemTest.testGetOwner().
| Map< String, String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getOwners | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.varOrdering.dfs.DFSgenerationParallel< S extends Comparable< S > &Serializable >.init(), frodo2.algorithms.varOrdering.linear.LinearOrdering< V extends Addable< V >, U extends Addable< U > >.init(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.test.XCSPparserTest.testGetExtVars(), and frodo2.algorithms.test.XCSPparserTest.testGetOwners().
| UtilitySolutionSpace< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getParamUtility | ( | Map< String[], BasicUtilitySolutionSpace< V, ArrayList< V > > > | assignments | ) |
Computes the total utility of the input assignment to variables, conditioned on the values of parameters.
| assignments | values for variables |
| Map< String, ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getProbabilitySpacePerRandVar | ( | ) |
Returns the probability space of each random variable in the problem.
Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
Referenced by frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getProbabilitySpaces | ( | ) |
Returns the probability spaces in the problem.
null if some information is missing Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
Referenced by frodo2.algorithms.test.XCSPparserTest.testGetProbabilitySpacesForVar(), frodo2.algorithms.test.XCSPparserTest.testGetSubProblem(), and frodo2.algorithms.test.XCSPparserTest.testSetDomain().
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getProbabilitySpaces | ( | String | var | ) |
Returns the probability spaces involving the input variable.
| var | the variable of interest |
null if some information is missing Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getRandVars | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | ) |
Returns the solution spaces in the problem.
null if some information is missing Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.stochastic.CompleteUTIL< Val extends Addable< Val >, U extends Addable< U > >.centralization(), frodo2.algorithms.adopt.ADOPT< Val extends Addable< Val >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.checkAllCostsNonNeg(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.computeDFS(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.factorGraphToDOT(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.h(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.duct.Normalize< V extends Addable< V > >.notifyIn(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.parseSpaces(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.test.ProblemTest.testGetSolutionSpaces(), frodo2.algorithms.test.XCSPparserTest.testGetSolutionSpaces(), frodo2.algorithms.test.XCSPparserTest.testGetSubProblem(), frodo2.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | final boolean | withAnonymVars | ) |
Returns the solution spaces in the problem.
| withAnonymVars | whether spaces involving variables with unknown owners should be taken into account |
null if some information is missing Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | Set< String > | vars, |
| final boolean | withAnonymVars, | ||
| Set< String > | forbiddenVars ) |
Extracts solution spaces involving the input variables from the constraints in the problem.
null if some information is missing in the problem file | vars | the variables of interest |
| withAnonymVars | whether hypercubes involving variables with unknown owners should be taken into account |
| forbiddenVars | any space involving any of these variables will be ignored |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | String | var, |
| final boolean | withAnonymVars ) |
Extracts solution spaces involving the input variable from the constraints in the problem.
null if some information is missing in the problem file | var | the variable of interest |
| withAnonymVars | whether hypercubes involving variables with unknown owners should be taken into account |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | String | var, |
| final boolean | withAnonymVars, | ||
| Set< String > | forbiddenVars ) |
Extracts solution spaces involving the input variable from the constraints in the problem.
null if some information is missing in the problem file | var | the variable of interest |
| withAnonymVars | whether hypercubes involving variables with unknown owners should be taken into account |
| forbiddenVars | any space involving any of these variables will be ignored |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| List< ? extends UtilitySolutionSpace< V, U > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSolutionSpaces | ( | String | var, |
| Set< String > | forbiddenVars ) |
Returns the solution spaces involving the input variable and none of the forbidden variables.
| var | the variable of interest |
| forbiddenVars | any space involving any of these variables will be ignored |
null if some information is missing Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| DCOPProblemInterface< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getSubProblem | ( | String | agent | ) |
Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
Referenced by frodo2.algorithms.varOrdering.election.tests.SecureVarElectionTest.initiateParamAndListener(), frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.initiateParamAndListener(), frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.dpop.test.VALUEpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.dpop.privacy.test.SecureRerootingTest.randomTest(), frodo2.algorithms.dpop.privacy.test.VariableObfuscationTest< V extends Addable< V > >.randomTest(), frodo2.algorithms.dpop.privacy.test.SecureCircularRoutingTest.setUp(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.duct.tests.NormalizeInfTest.test(), frodo2.algorithms.duct.tests.NormalizeTest.test(), frodo2.algorithms.test.XCSPparserTest.testMaximize(), frodo2.algorithms.adopt.test.testPreprocessing.testRandom(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.testRandom(), frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.testRandom(), frodo2.algorithms.odpop.tests.ODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.testRandom(), frodo2.algorithms.odpop.tests.ODPOPagentTestBinaryDomains< V extends Addable< V >, U extends Addable< U > >.testRandom(), frodo2.algorithms.odpop.tests.ODPOPagentTestFullDomain< V extends Addable< V >, U extends Addable< U > >.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| UtilitySolutionSpace< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getUtility | ( | Map< String, V > | assignments | ) |
Computes the total utility of the input assignment to variables, ignoring variables with no specified owner.
This methods actually returns a UtilitySolutionSpace. If not all variables in the problem are assigned a value, the space will represent the utility of the assignment, conditioned on the free variables. If all variables are grounded, the method returns a scalar UtilitySolutionSpace.
| assignments | values for variables |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.asodpop.tests.ASODPOPagentTest< V extends Addable< V >, U extends Addable< U > >.testRandom(), and frodo2.algorithms.asodpop.tests.ASODPOPBinaryAgentTest< V extends Addable< V >, U extends Addable< U > >.testRandom().
| UtilitySolutionSpace< V, U > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getUtility | ( | Map< String, V > | assignments, |
| final boolean | withAnonymVars ) |
Computes the total utility of the input assignment to variables.
This methods actually returns a UtilitySolutionSpace. If not all variables in the problem are assigned a value, the space will represent the utility of the assignment, conditioned on the free variables. If all variables are grounded, the method returns a scalar UtilitySolutionSpace.
| assignments | values for variables |
| withAnonymVars | if false, ignores variable with no specified owner |
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getVariables | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.checkModulus(), frodo2.algorithms.dpop.privacy.CollaborativeDecryption< C extends Addable< C >, E extends AddableLimited< C, E, K extends PublicKeyShare >.CollaborativeDecryption(), frodo2.gui.jung.JungVisualizer.drawVertices(), frodo2.algorithms.varOrdering.factorgraph.FactorGraphGen< V extends Addable< V >, U extends Addable< U > >.factorGraphToDOT(), frodo2.algorithms.test.XCSPparserTest.getNeighborhoods(), frodo2.algorithms.heuristics.RandScoringHeuristic.getScores(), frodo2.algorithms.heuristics.SmallestDomainHeuristic.getScores(), frodo2.algorithms.heuristics.VarNameHeuristic.getScores(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.notifyIn(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.processLinearOrdering(), frodo2.algorithms.dpop.privacy.RerootRequester< V extends Addable< V >, U extends Addable< U > >.RerootRequester(), frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.reset(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.revealSol(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.terminate(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.test.XCSPparserTest.testGetDomain(), frodo2.algorithms.test.XCSPparserTest.testGetDomainSize(), frodo2.algorithms.test.XCSPparserTest.testGetProbabilitySpacesForVar(), frodo2.algorithms.test.XCSPparserTest.testGetSolutionSpacesForVar(), frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom(), and frodo2.algorithms.test.XCSPparserTest.testSetDomain().
| Set< String > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getVariables | ( | String | owner | ) |
Returns the set of variables owned by a given agent.
| owner | the name of the agent; if null, returns all variables with no specified owner |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
| Map< String, Set< String > > frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.getVarScopes | ( | ) |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.test.UTILpropagationTest< U extends Addable< U > >.Listener.Listener(), frodo2.algorithms.adopt.test.testADOPT.test(), 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.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.algorithms.varOrdering.dfs.tests.DFSgenerationTest.testRandom(), and frodo2.algorithms.varOrdering.election.tests.VariableElectionTest< S extends Comparable< S > &Serializable >.testRandom().
| void frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.ground | ( | String | var, |
| V | val ) |
Adds a constraint that enforces that var = val.
| var | the variable |
| val | the value |
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.isRandom | ( | String | var | ) |
Returns whether the input variable is defined as a random variable.
| var | the name of the variable |
true if the input variable is a random variable, false if not or if the variable is unknown Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.test.XCSPparserTest.getExtendedRandNeighbors(), frodo2.algorithms.test.XCSPparserTest.getNeighborhoods(), frodo2.algorithms.dpop.stochastic.SamplingPhase< V extends Addable< V >, U extends Addable< U > >.notifyIn(), frodo2.algorithms.test.XCSPparserTest.testGetAgentNeighborhoods(), frodo2.algorithms.test.XCSPparserTest.testGetNbrNeighbors(), frodo2.algorithms.test.XCSPparserTest.testGetNeighborhoods(), frodo2.algorithms.test.XCSPparserTest.testGetNeighborhoodSizes(), frodo2.algorithms.test.XCSPparserTest.testGetNeighborVars(), and frodo2.algorithms.test.XCSPparserTest.testSetDomain().
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.maximize | ( | ) |
true if this is a maximization problem, false otherwise Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
Referenced by frodo2.algorithms.dpop.count.CountSolutionsVALUE< Val extends Addable< Val >, U extends Addable< U > >.computeOptValAndSendVALUEmsgs(), frodo2.algorithms.mpc_discsp.MPC_DisCSP4< V extends Addable< V > >.init(), frodo2.algorithms.maxsum.MaxSum< V extends Addable< V >, U extends Addable< U > >.MaxSum(), frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.notifyIn(), frodo2.algorithms.SolutionCollector< V extends Addable< V >, U extends Addable< U > >.notifyIn(), setMaximize(), frodo2.algorithms.afb.AFB< V extends Addable< V >, U extends Addable< U > >.start(), frodo2.algorithms.synchbb.SynchBB< V extends Addable< V >, U extends Addable< U > >.start(), and frodo2.algorithms.test.XCSPparserTest.testMaximize().
| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.removeSpace | ( | String | name | ) |
Removes the space with the given name.
| name | the name of the space |
true if the space was present and had been removed Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| void frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.rescale | ( | U | multiply, |
| U | add ) |
Rescales the problem.
| multiply | multiplies all costs/utilities by multiply |
| add | after multiplying all costs/utilities by multiply (if required), adds add |
Referenced by frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.notifyIn().
| void frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.setDomain | ( | String | var, |
| V[] | dom ) |
Sets the domain of a variable.
| var | the name of the variable |
| dom | the domain; if empty, does nothing |
Referenced by frodo2.algorithms.test.XCSPparserTest.testSetDomain().
| void frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.setMaximize | ( | boolean | maximize | ) |
Sets whether utility should be maximized, or cost minimized.
| maximize | true iff this should be a maximization problem |
Implemented in frodo2.algorithms.AbstractProblem< V extends Addable< V >, U extends Addable< U > >.
References maximize().
Referenced by frodo2.algorithms.reformulation.ProblemRescaler< U extends Addable< U > >.notifyIn().

| boolean frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.setOwner | ( | String | var, |
| String | owner ) |
Sets the owner agent for the input variable.
| var | the variable |
| owner | the owner |
false if the owner was not changed because the variable does not exist Implemented in frodo2.solutionSpaces.JaCoP.JaCoPproblem< V extends Addable< V > >.
| void frodo2.solutionSpaces.DCOPProblemInterface< V extends Addable< V >, U extends Addable< U > >.setProbSpace | ( | String | var, |
| Map< V, Double > | prob ) |
Adds to the problem a probability space for the input random variable.
| var | random variable |
| prob | weighted samples |