|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpartage.PleiadesComplexInstanceGenerator
public class PleiadesComplexInstanceGenerator
This class generates a random instance of the resource allocation problem with logical constraints and preferences, that aims at simulating an instance of the real-world problem of sharing the Earth Observation Satellites constellation Pleiades.
| Nested Class Summary | |
|---|---|
static class |
PleiadesComplexInstanceGenerator.ConsumptionRightsParameters
A nested class for customizing all the parameters concerning the consumption rights of the instance. |
static class |
PleiadesComplexInstanceGenerator.RequestsParameters
A static class for representing the requests parameters of the Pleiades instance. |
static class |
PleiadesComplexInstanceGenerator.VolumeConstraintParameters
A nested class for customizing all the parameters concerning the volume constraint parameters of the instance. |
| Field Summary | |
|---|---|
PleiadesComplexInstanceGenerator.ConsumptionRightsParameters |
consumption
The parameters concerning the consumption rights (simulating unequal exogenous rights) |
int |
nA
The number of agents. |
int |
nOMax
The maximal number of objects. |
PleiadesComplexInstanceGenerator.RequestsParameters |
requests
The parameters concerning the requests of the agents |
long |
seed
The seed of the random number generator. |
PleiadesComplexInstanceGenerator.VolumeConstraintParameters |
volume
The parameters concerning the volume constraints (simulating physical imcompatibilities) |
| Constructor Summary | |
|---|---|
PleiadesComplexInstanceGenerator(int _nA,
int _nOMax)
Creating an instance of the class PleiadesComplexInstanceGenerator by specifying
only the basic parameters. |
|
PleiadesComplexInstanceGenerator(int _nA,
int _nOMax,
long _seed)
Creating an instance of the class PleiadesComplexInstanceGenerator by specifying
only the basic parameters. |
|
PleiadesComplexInstanceGenerator(PleiadesComplexInstanceGenerator.ConsumptionRightsParameters _consumption,
PleiadesComplexInstanceGenerator.VolumeConstraintParameters _volume,
PleiadesComplexInstanceGenerator.RequestsParameters _req,
int _nA,
int _nOMax,
long _seed)
Creating an instance of the class PleiadesComplexInstanceGenerator by specifying
explicitely all the parameters. |
|
| Method Summary | |
|---|---|
ComplexInstance |
generate()
This method generates an instance of the allocation problem with complex preferences and constraints. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public PleiadesComplexInstanceGenerator.ConsumptionRightsParameters consumption
public PleiadesComplexInstanceGenerator.VolumeConstraintParameters volume
public PleiadesComplexInstanceGenerator.RequestsParameters requests
public long seed
public int nA
public int nOMax
| Constructor Detail |
|---|
public PleiadesComplexInstanceGenerator(PleiadesComplexInstanceGenerator.ConsumptionRightsParameters _consumption,
PleiadesComplexInstanceGenerator.VolumeConstraintParameters _volume,
PleiadesComplexInstanceGenerator.RequestsParameters _req,
int _nA,
int _nOMax,
long _seed)
PleiadesComplexInstanceGenerator by specifying
explicitely all the parameters.
_consumption - The parameters concerning the consumption rights (simulating unequal exogenous rights)._volume - The parameters concerning the volume constraints (simulating physical imcompatibilities)._req - The parameters concerning the requests of the agents._nA - The number of agents._nOMax - The maximal number of objects._seed - The seed of the random number generator.
public PleiadesComplexInstanceGenerator(int _nA,
int _nOMax,
long _seed)
PleiadesComplexInstanceGenerator by specifying
only the basic parameters. The other are left to the defaults which are the following ones:
ConsumptionRightsParameters See the defaults specified in
ConsumptionRightsParametersVolumeConstraintsParameters See the defaults specified in
VolumeConstraintsParametersRequestsParameters:
_nA - The number of agents._nOMax - The maximal number of objects._seed - The seed of the random number generator.
public PleiadesComplexInstanceGenerator(int _nA,
int _nOMax)
PleiadesComplexInstanceGenerator by specifying
only the basic parameters. The other are left to the defaults. The seed is set to
System.currentTimeMillis()
_nA - The number of agents._nOMax - The maximal number of objects.| Method Detail |
|---|
public ComplexInstance generate()
ComplexInstance generated according to the generator's
parameters set (the Spot generator).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||