|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
Interface for heuristics used to choose a variable's next child from its list of open neighbors. More...

Public Member Functions | |
| String | popNextChild (String var, DFSview<?, ?> dfsView, Collection< String > openNeighbors) |
| Chooses an open neighbor as the next child for a variable, removes it from the list of open neighbors and returns it. | |
Interface for heuristics used to choose a variable's next child from its list of open neighbors.
All heuristic classes should have a constructor that takes in a DCOPProblemInterface describing the agent's problem and an Element describing the parameters of the heuristic. If the heuristic also implements IncomingMsgPolicyInterface, it will be automatically registered to the agent's queue.
| String frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.NextChildChoiceHeuristic.popNextChild | ( | String | var, |
| DFSview<?, ?> | dfsView, | ||
| Collection< String > | openNeighbors ) |
Chooses an open neighbor as the next child for a variable, removes it from the list of open neighbors and returns it.
| var | the variable whose next child must be chosen |
| dfsView | the current incomplete view that this variable has of its DFS neighbors |
| openNeighbors | the list of open neighbors for a variable |
null if not enough information is available yet to choose it Referenced by frodo2.algorithms.varOrdering.dfs.DFSgeneration< V extends Addable< V >, U extends Addable< U > >.sendDownCHILDtoken().