|
FRODO Version 2.19.1
An open-source framework for Distributed Constraint Optimization (DCOP)
|
An instance of a party game. More...
Public Member Functions | |
| PartyInstance (Graph graph, TreeMap< String, Double > privateCosts, TreeMap< String, TreeMap< String, Double > > likes) | |
| Constructor. | |
| String | toString () |
Public Attributes | |
| TreeMap< String, Double > | privateCosts |
| Each player's private cost incurred by attending the party. | |
| TreeMap< String, TreeMap< String, Double > > | likes |
| For each player, for each neighbor, the player's cost if they both attend the party. | |
Private Attributes | |
| final String | instanceName |
| Name of the problem instance. | |
| final Graph | graph |
| The underlying party graph. | |
An instance of a party game.
| frodo2.benchmarks.party.PartyGame.PartyInstance.PartyInstance | ( | Graph | graph, |
| TreeMap< String, Double > | privateCosts, | ||
| TreeMap< String, TreeMap< String, Double > > | likes ) |
Constructor.
| graph | The underlying party graph |
| privateCosts | Each player's private cost incurred by attending the party |
| likes | For each player, for each neighbor, the player's cost if they both attend the party |
References graph, likes, and privateCosts.
| String frodo2.benchmarks.party.PartyGame.PartyInstance.toString | ( | ) |
|
private |
The underlying party graph.
Referenced by PartyInstance().
|
private |
Name of the problem instance.
| TreeMap< String, TreeMap<String, Double> > frodo2.benchmarks.party.PartyGame.PartyInstance.likes |
For each player, for each neighbor, the player's cost if they both attend the party.
Referenced by PartyInstance().
| TreeMap<String, Double> frodo2.benchmarks.party.PartyGame.PartyInstance.privateCosts |
Each player's private cost incurred by attending the party.
Referenced by PartyInstance().