FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable > Class Template Reference

A scoring heuristic that supports tiebreaking. More...

Inheritance diagram for frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >:

Public Member Functions

 ScoringHeuristicWithTiebreaker (ScoringHeuristic< S1 > heuristic1, ScoringHeuristic< S2 > heuristic2)
 Constructor.
 ScoringHeuristicWithTiebreaker (DCOPProblemInterface<?, ?> problem, Element params) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException
 Constructor.
Map< String, ScorePair< S1, S2 > > getScores ()
Public Member Functions inherited from frodo2.algorithms.heuristics.ScoringHeuristic< ScorePair< S1, S2 > >
Map< String, S > getScores ()

Private Attributes

ScoringHeuristic< S1 > heuristic1
 The first heuristic.
ScoringHeuristic< S2 > heuristic2
 The tiebreaking heuristic.

Detailed Description

A scoring heuristic that supports tiebreaking.

Author
Thomas Leaute
Parameters
<S1>the type used for the first score
<S2>the type used for the tiebreaking score

Constructor & Destructor Documentation

◆ ScoringHeuristicWithTiebreaker() [1/2]

frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >.ScoringHeuristicWithTiebreaker ( ScoringHeuristic< S1 > heuristic1,
ScoringHeuristic< S2 > heuristic2 )

Constructor.

Parameters
heuristic1The first heuristic
heuristic2The tiebreaking heuristic

References heuristic1, and heuristic2.

Referenced by ScoringHeuristicWithTiebreaker().

◆ ScoringHeuristicWithTiebreaker() [2/2]

frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >.ScoringHeuristicWithTiebreaker ( DCOPProblemInterface<?, ?> problem,
Element params ) throws ClassNotFoundException, NoSuchMethodException, InstantiationException, IllegalAccessException, InvocationTargetException

Constructor.

Parameters
problemThe agent's problem
paramsThe parameters
Exceptions
ClassNotFoundExceptionif a ScoringHeuristic classe is not found
NoSuchMethodExceptionif a ScoringHeuristic does not have a constructor with the signature (DCOPProblemInterface, Element)
InstantiationExceptionif a ScoringHeuristic is abstract
IllegalAccessExceptionif a ScoringHeuristic's constructor is inaccessible
InvocationTargetExceptionif a ScoringHeuristic's constructor throws an exception

References ScoringHeuristicWithTiebreaker().

Here is the call graph for this function:

Member Function Documentation

◆ getScores()

Map< String, ScorePair< S1, S2 > > frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >.getScores ( )

Member Data Documentation

◆ heuristic1

ScoringHeuristic<S1> frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >.heuristic1
private

The first heuristic.

Referenced by ScoringHeuristicWithTiebreaker().

◆ heuristic2

ScoringHeuristic<S2> frodo2.algorithms.heuristics.ScoringHeuristicWithTiebreaker< S1 extends Comparable< S1 > &Serializable, S2 extends Comparable< S2 > &Serializable >.heuristic2
private

The tiebreaking heuristic.

Referenced by ScoringHeuristicWithTiebreaker().


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