|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
This class is used to generate the 'variables' tag in the output XML file. More...

Public Member Functions | |
| Variables () | |
| The constructor first calls the super class constructor to define the name of the tag this class represents, then initializes an empty list of variables. | |
| void | create (Auction auction, int methodID) |
| This method generates all the variables used to solve this DCOP. | |
| List< Variable > | getVariables () |
Private Attributes | |
| List< Variable > | variables |
| List of variables of this DCOP. | |
Static Private Attributes | |
| static final long | serialVersionUID = -4886368853280176832L |
| Classes extending Element should declare a serial Version UID. | |
This class is used to generate the 'variables' tag in the output XML file.
| frodo2.benchmarks.auctions.xcsp.Variables.Variables | ( | ) |
The constructor first calls the super class constructor to define the name of the tag this class represents, then initializes an empty list of variables.
References variables.
| void frodo2.benchmarks.auctions.xcsp.Variables.create | ( | Auction | auction, |
| int | methodID ) |
This method generates all the variables used to solve this DCOP.
As the number and types of the variables depend on the method, there is a switch on the method ID
| auction | Auction instance |
| methodID | ID of conversion method to be applied |
References frodo2.benchmarks.auctions.cats.Auction.getBidders(), frodo2.benchmarks.auctions.xcsp.Instance.getBiddersScopeByGood(), frodo2.benchmarks.auctions.cats.Auction.getBids(), frodo2.benchmarks.auctions.cats.Auction.getGoods(), frodo2.benchmarks.auctions.xcsp.Instance.getGoodsScopeByBidder(), and variables.
Referenced by frodo2.benchmarks.auctions.xcsp.Instance.create().

| List< Variable > frodo2.benchmarks.auctions.xcsp.Variables.getVariables | ( | ) |
References variables.
Referenced by frodo2.benchmarks.auctions.xcsp.Instance.create().
|
staticprivate |
Classes extending Element should declare a serial Version UID.
|
private |
List of variables of this DCOP.
Referenced by create(), getVariables(), and Variables().