This class is used to generate 'constraint' tags in the output XML file.
More...
|
| | Constraint (String name, String arity, String scope, String reference) |
| | The constructor calls the super class constructor to define the name of the tag this class represents, and assigns the instance variables.
|
| | Constraint (String name, String arity, String scope, String reference, String owner) |
| | The constructor calls the super class constructor to define the name of the tag this class represents, and assigns the instance variables.
|
| String | getOwner () |
| void | create (boolean sumDecomposition) |
| | This method adds all the instance variables as attributes, so they will be included in the 'constraint' XML element.
|
|
| String | name |
| | Name of the constraint.
|
| String | arity |
| | Arity of the constraint, i.e.
|
| String | scope |
| | Scope of the constraint, i.e.
|
| String | reference |
| | Name of the relation applied to this constraint.
|
| String | owner |
| | The owner agent, if any.
|
|
| static final long | serialVersionUID = -486029672066351846L |
| | Classes extending Element should declare a serial Version UID.
|
This class is used to generate 'constraint' tags in the output XML file.
- Author
- Andreas Schaedeli, Thomas Leaute
◆ Constraint() [1/2]
| frodo2.benchmarks.auctions.xcsp.Constraint.Constraint |
( |
String | name, |
|
|
String | arity, |
|
|
String | scope, |
|
|
String | reference ) |
The constructor calls the super class constructor to define the name of the tag this class represents, and assigns the instance variables.
- Parameters
-
| name | Name of the constraint |
| arity | Arity of the constraint |
| scope | Scope of the constraint |
| reference | Name of the relation applied to this constraint |
References arity, name, reference, and scope.
◆ Constraint() [2/2]
| frodo2.benchmarks.auctions.xcsp.Constraint.Constraint |
( |
String | name, |
|
|
String | arity, |
|
|
String | scope, |
|
|
String | reference, |
|
|
String | owner ) |
The constructor calls the super class constructor to define the name of the tag this class represents, and assigns the instance variables.
- Parameters
-
| name | Name of the constraint |
| arity | Arity of the constraint |
| scope | Scope of the constraint |
| reference | Name of the relation applied to this constraint |
| owner | The owner agent, if any |
References arity, name, owner, reference, and scope.
◆ create()
| void frodo2.benchmarks.auctions.xcsp.Constraint.create |
( |
boolean | sumDecomposition | ) |
|
◆ getOwner()
| String frodo2.benchmarks.auctions.xcsp.Constraint.getOwner |
( |
| ) |
|
- Returns
- the owner agent, if any
◆ arity
| String frodo2.benchmarks.auctions.xcsp.Constraint.arity |
|
private |
◆ name
| String frodo2.benchmarks.auctions.xcsp.Constraint.name |
|
private |
◆ owner
| String frodo2.benchmarks.auctions.xcsp.Constraint.owner |
|
private |
◆ reference
| String frodo2.benchmarks.auctions.xcsp.Constraint.reference |
|
private |
◆ scope
| String frodo2.benchmarks.auctions.xcsp.Constraint.scope |
|
private |
◆ serialVersionUID
| final long frodo2.benchmarks.auctions.xcsp.Constraint.serialVersionUID = -486029672066351846L |
|
staticprivate |
Classes extending Element should declare a serial Version UID.
The documentation for this class was generated from the following file: