|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectExamplesJaCoP.Example
ExamplesJaCoP.MUCA
public class MUCA
It solves the Mixed Multi-Unit Combinatorial Auctions.
| Field Summary | |
|---|---|
java.util.ArrayList<IntVar> |
bidCosts
For each bidder it specifies variable representing the cost of the chosen xor bid. |
java.util.ArrayList<java.util.ArrayList<java.util.ArrayList<ExamplesJaCoP.MUCA.Transformation>>> |
bids
ArrayList of bids issued by different bidders. |
java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> |
costs
For each bidder and each xor bid there is an integer representing a cost of the xor bid. |
IntVar[][] |
deltasI
For each transition and each good it specifies the delta change of that good before the transition takes place. |
IntVar[][] |
deltasO
For each transition and each good it specifies the delta change of that good after the transition takes place. |
java.lang.String |
filename
It reads auction problem description from the file. |
java.util.ArrayList<java.lang.Integer> |
finalQuantity
It specifies the minimal quantities of items seeked to achieve. |
java.util.ArrayList<java.lang.Integer> |
initialQuantity
It specifies the initial quantities of goods. |
int |
maxCost
It specifies the maximal value for the cost. |
int |
maxDelta
It specifies the maximal possible delta of goods for any transformation. |
int |
maxNoTransformations
It specifies the maximal number of transformations used by the auctioneer. |
int |
maxProducts
The maximal number of products. |
int |
minCost
It specifies the minimal value for the cost. |
int |
minDelta
It specifies the minimal possible delta of goods for any transformation. |
int |
noGoods
It specifies number of goods which are in the focus of the auction. |
IntVar[] |
sum
It specifies the number of goods after the last transition. |
IntVar[] |
transitions
It specifies the sequence of transitions used by an auctioneer. |
| Fields inherited from class ExamplesJaCoP.Example |
|---|
cost, search, store, vars |
| Constructor Summary | |
|---|---|
MUCA()
|
|
| Method Summary | |
|---|---|
static void |
main(java.lang.String[] args)
It executes the program which solve the supplied auction problem or solves three problems available within the files. |
void |
model()
It specifies a standard way of modeling the problem. |
void |
readAuction(java.lang.String filename)
It reads the auction problem from the file. |
boolean |
searchSpecial()
It executes special master-slave search. |
void |
setupProblem1()
It creates an instance of the auction problem. |
void |
setupProblem2()
It creates an instance of the auction problem. |
void |
setupProblem3()
It creates an instance of the auction problem. |
void |
setupProblem4()
It creates an instance of the auction problem. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public java.util.ArrayList<java.util.ArrayList<java.util.ArrayList<ExamplesJaCoP.MUCA.Transformation>>> bids
public java.util.ArrayList<java.util.ArrayList<java.lang.Integer>> costs
public java.util.ArrayList<java.lang.Integer> initialQuantity
public java.util.ArrayList<java.lang.Integer> finalQuantity
public int noGoods
public int minDelta
public int maxDelta
public int minCost
public int maxCost
public int maxProducts
public java.util.ArrayList<IntVar> bidCosts
public IntVar[] transitions
public int maxNoTransformations
public IntVar[][] deltasI
public IntVar[][] deltasO
public IntVar[] sum
public java.lang.String filename
| Constructor Detail |
|---|
public MUCA()
| Method Detail |
|---|
public void setupProblem1()
public void setupProblem2()
public void setupProblem3()
public void setupProblem4()
public static void main(java.lang.String[] args)
args - the first argument specifies the name of the file containing the problem description.public void model()
Example
model in class Examplepublic boolean searchSpecial()
public void readAuction(java.lang.String filename)
filename - file describing the auction problem.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||