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

This class is used to generate the 'variable' tags in the output XML file. More...

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

Public Member Functions

 Variable (String name, String domain, String owner)
 This method adds the instance variables as attributes, so they are written to the 'variable' element in the XML output file.
void create ()
 This method adds the instance variables as attributes to the Element, so they will be written to the 'variable' tag in the XML output file.
String getVarName ()
String getOwner ()

Private Attributes

String name
 Name of the variable.
String domain
 Domain of the variable.
String owner
 Owner of the variable.

Static Private Attributes

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

Detailed Description

This class is used to generate the 'variable' tags in the output XML file.

Author
Andreas Schaedeli

Constructor & Destructor Documentation

◆ Variable()

frodo2.benchmarks.auctions.xcsp.Variable.Variable ( String name,
String domain,
String owner )

This method adds the instance variables as attributes, so they are written to the 'variable' element in the XML output file.

Parameters
nameName of the variable
domainDomain of the variable
ownerOwner of the variable

References domain, name, and owner.

Member Function Documentation

◆ create()

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

This method adds the instance variables as attributes to the Element, so they will be written to the 'variable' tag in the XML output file.

References domain, name, and owner.

◆ getOwner()

String frodo2.benchmarks.auctions.xcsp.Variable.getOwner ( )
Returns
the owner agent

◆ getVarName()

String frodo2.benchmarks.auctions.xcsp.Variable.getVarName ( )
Returns
Name of the variable

References name.

Member Data Documentation

◆ domain

String frodo2.benchmarks.auctions.xcsp.Variable.domain
private

Domain of the variable.

Referenced by create(), and Variable().

◆ name

String frodo2.benchmarks.auctions.xcsp.Variable.name
private

Name of the variable.

Referenced by create(), getVarName(), and Variable().

◆ owner

String frodo2.benchmarks.auctions.xcsp.Variable.owner
private

Owner of the variable.

Referenced by create(), and Variable().

◆ serialVersionUID

final long frodo2.benchmarks.auctions.xcsp.Variable.serialVersionUID = -4102365588799441715L
staticprivate

Classes extending Element should declare a serial Version UID.


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