FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
Loading...
Searching...
No Matches
frodo2.benchmarks.auctions.xcsp.Domains Class Reference

This class is used to generate the 'domains' tag in the output XML file. More...

Inheritance diagram for frodo2.benchmarks.auctions.xcsp.Domains:

Public Member Functions

 Domains ()
 The constructor calls the super class constructor to define the name of the tag this class represents, and initializes an empty list for the domains.
void create ()
 This method creates the domains of this DCOP's variables.

Private Attributes

List< Domaindomains
 List of domains.

Static Private Attributes

static final long serialVersionUID = 1205259034174446052L
 Classes extending Element should declare a serial Version UID.

Detailed Description

This class is used to generate the 'domains' tag in the output XML file.

Author
Andreas Schaedeli

Constructor & Destructor Documentation

◆ Domains()

frodo2.benchmarks.auctions.xcsp.Domains.Domains ( )

The constructor calls the super class constructor to define the name of the tag this class represents, and initializes an empty list for the domains.

References domains.

Member Function Documentation

◆ create()

void frodo2.benchmarks.auctions.xcsp.Domains.create ( )

This method creates the domains of this DCOP's variables.

For the moment, there is only the binary domain [0, 1], so no parameters are needed.

References domains.

Referenced by frodo2.benchmarks.auctions.xcsp.Instance.create().

Member Data Documentation

◆ domains

List<Domain> frodo2.benchmarks.auctions.xcsp.Domains.domains
private

List of domains.

Referenced by create(), and Domains().

◆ serialVersionUID

final long frodo2.benchmarks.auctions.xcsp.Domains.serialVersionUID = 1205259034174446052L
staticprivate

Classes extending Element should declare a serial Version UID.


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