FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.varOrdering.dfs.LocalRandVarsDFS< V extends Addable< V >, U extends Addable< U > >.VarElectionHeuristic Class Reference

Heuristic used for variable election. More...

Inheritance diagram for frodo2.algorithms.varOrdering.dfs.LocalRandVarsDFS< V extends Addable< V >, U extends Addable< U > >.VarElectionHeuristic:

Public Member Functions

 VarElectionHeuristic (DCOPProblemInterface<?, ?> problem, Element params)
 Constructor.
Map< String, Short > getScores ()
 Elects the variable with the smallest number of neighbor random variables.

Private Attributes

DCOPProblemInterface<?, ?> problem
 The agent's problem.

Detailed Description

Heuristic used for variable election.

Constructor & Destructor Documentation

◆ VarElectionHeuristic()

frodo2.algorithms.varOrdering.dfs.LocalRandVarsDFS< V extends Addable< V >, U extends Addable< U > >.VarElectionHeuristic.VarElectionHeuristic ( DCOPProblemInterface<?, ?> problem,
Element params )

Constructor.

Parameters
problemthe agent's problem
paramsunused

References problem.

Member Function Documentation

◆ getScores()

Map< String, Short > frodo2.algorithms.varOrdering.dfs.LocalRandVarsDFS< V extends Addable< V >, U extends Addable< U > >.VarElectionHeuristic.getScores ( )

Elects the variable with the smallest number of neighbor random variables.

See also
ScoringHeuristic.getScores()

Implements frodo2.algorithms.heuristics.ScoringHeuristic< S extends Comparable< S > &Serializable >.

References problem.

Member Data Documentation

◆ problem

DCOPProblemInterface<?, ?> frodo2.algorithms.varOrdering.dfs.LocalRandVarsDFS< V extends Addable< V >, U extends Addable< U > >.VarElectionHeuristic.problem
private

The agent's problem.

Referenced by getScores(), and VarElectionHeuristic().


The documentation for this class was generated from the following file: