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

This is a solver that reads in the problem, creates the agents, runs the problem and then collects the statistics . More...

Inheritance diagram for frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >:

Public Member Functions

 ASODPOPBinarysolver ()
 Default constructor.
 ASODPOPBinarysolver (boolean useTCP)
 Constructor.
 ASODPOPBinarysolver (String agentDescFile)
 Constructor.
 ASODPOPBinarysolver (String agentDescFile, boolean useTCP)
 Constructor.
 ASODPOPBinarysolver (Document agentDesc)
 Constructor.
 ASODPOPBinarysolver (Document agentDesc, boolean useTCP)
 Constructor.
 ASODPOPBinarysolver (Class< V > domClass, Class< U > utilClass)
 Constructor.
 ASODPOPBinarysolver (Class< V > domClass, Class< U > utilClass, boolean useTCP)
 Constructor.
 ASODPOPBinarysolver (String agentDescFile, Class< V > domClass, Class< U > utilClass)
 Constructor.
 ASODPOPBinarysolver (String agentDescFile, Class< V > domClass, Class< U > utilClass, boolean useTCP)
 Constructor.
void setConvergence (boolean convergence)
 Set the convergence parameter to the desired value.
Public Member Functions inherited from frodo2.algorithms.asodpop.ASODPOPsolver< V, U >
 ASODPOPsolver ()
 Default constructor.
void setConvergence (boolean convergence)
 Set the convergence parameter to the desired value.
ArrayList< StatsReportergetSolGatherers ()
ASODPOPsolution< V, U > buildSolution ()

Additional Inherited Members

Protected Member Functions inherited from frodo2.algorithms.asodpop.ASODPOPsolver< V, U >
void clear ()
Protected Attributes inherited from frodo2.algorithms.asodpop.ASODPOPsolver< V, U >
ASODPOP< V, U > asodpopModule
 The ASODPOP module.
DFSgeneration< V, U > dfsModule
 The DFSgeneration module.

Detailed Description

This is a solver that reads in the problem, creates the agents, runs the problem and then collects the statistics .

Author
Brammert Ottens, Thomas Leaute
Parameters
<V>type used for variable values
<U>type used for utility values

Constructor & Destructor Documentation

◆ ASODPOPBinarysolver() [1/10]

Default constructor.

◆ ASODPOPBinarysolver() [2/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( boolean useTCP)

Constructor.

Parameters
useTCPWhether to use TCP pipes or shared memory pipes
Warning
Using TCP pipes automatically disables simulated time.

◆ ASODPOPBinarysolver() [3/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( String agentDescFile)

Constructor.

Parameters
agentDescFilepath to the agent description file

◆ ASODPOPBinarysolver() [4/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( String agentDescFile,
boolean useTCP )

Constructor.

Parameters
agentDescFilepath to the agent description file
useTCPWhether to use TCP pipes or shared memory pipes
Warning
Using TCP pipes automatically disables simulated time.

◆ ASODPOPBinarysolver() [5/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( Document agentDesc)

Constructor.

Parameters
agentDescdescription of the agent to be used

◆ ASODPOPBinarysolver() [6/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( Document agentDesc,
boolean useTCP )

Constructor.

Parameters
agentDescdescription of the agent to be used
useTCPWhether to use TCP pipes or shared memory pipes
Warning
Using TCP pipes automatically disables simulated time.

◆ ASODPOPBinarysolver() [7/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( Class< V > domClass,
Class< U > utilClass )

Constructor.

Parameters
domClassthe class to use for variable values
utilClassthe class to use for utilities

◆ ASODPOPBinarysolver() [8/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( Class< V > domClass,
Class< U > utilClass,
boolean useTCP )

Constructor.

Parameters
domClassthe class to use for variable values
utilClassthe class to use for utilities
useTCPWhether to use TCP pipes or shared memory pipes
Warning
Using TCP pipes automatically disables simulated time.

◆ ASODPOPBinarysolver() [9/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( String agentDescFile,
Class< V > domClass,
Class< U > utilClass )

Constructor.

Parameters
agentDescFiledescription of the agent to be used
domClassthe class to be used for variable values
utilClassthe class to be used for utility values

◆ ASODPOPBinarysolver() [10/10]

frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.ASODPOPBinarysolver ( String agentDescFile,
Class< V > domClass,
Class< U > utilClass,
boolean useTCP )

Constructor.

Parameters
agentDescFiledescription of the agent to be used
domClassthe class to be used for variable values
utilClassthe class to be used for utility values
useTCPWhether to use TCP pipes or shared memory pipes
Warning
Using TCP pipes automatically disables simulated time.

Member Function Documentation

◆ setConvergence()

void frodo2.algorithms.asodpop.ASODPOPBinarysolver< V extends Addable< V >, U extends Addable< U > >.setConvergence ( boolean convergence)

Set the convergence parameter to the desired value.

Parameters
convergencetrue when convergence must be measured, and false otherwise

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