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

This class is used to represent the parameters of an intensional sum constraint. More...

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

Classes

class  LessEqual
 This internal class is needed to create the le XML tag; else, characters > and < are transformed into &gt and &lt. More...
class  Equal
 This internal class is needed to create the eq XML tag. More...

Public Member Functions

 SumParameters (String[] variables)
 Constructor calling the superclass' constructor to add the correct tag name to the output XCSP file.
void create (final boolean isXOR)
 This method adds the content to the parameters XML tag.

Private Member Functions

String createParameters ()

Private Attributes

String[] variables
 Array of variable names contained in the sum constraint.

Static Private Attributes

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

Detailed Description

This class is used to represent the parameters of an intensional sum constraint.

Author
Andreas Schaedeli

Constructor & Destructor Documentation

◆ SumParameters()

frodo2.benchmarks.auctions.xcsp.SumParameters.SumParameters ( String[] variables)

Constructor calling the superclass' constructor to add the correct tag name to the output XCSP file.

Parameters
variablesArray of variable names

References variables.

Member Function Documentation

◆ create()

void frodo2.benchmarks.auctions.xcsp.SumParameters.create ( final boolean isXOR)

This method adds the content to the parameters XML tag.

Parameters
isXORtrue if the reference of the constraint contains XOR (and not SUM) i.e. there is a fake bidder

References createParameters().

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

Here is the call graph for this function:

◆ createParameters()

String frodo2.benchmarks.auctions.xcsp.SumParameters.createParameters ( )
private
Returns
String containing a list of weights and variable names

References variables.

Referenced by create().

Member Data Documentation

◆ serialVersionUID

final long frodo2.benchmarks.auctions.xcsp.SumParameters.serialVersionUID = 4306488561297146973L
staticprivate

Classes extending Element should declare a serial Version UID.

◆ variables

String [] frodo2.benchmarks.auctions.xcsp.SumParameters.variables
private

Array of variable names contained in the sum constraint.

Referenced by createParameters(), and SumParameters().


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