|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object partage.SpotComplexInstanceGenerator
public class SpotComplexInstanceGenerator
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 Spot.
Nested Class Summary | |
---|---|
static class |
SpotComplexInstanceGenerator.ConstellationParameters
This static class represents the parameters of the constellation considered. |
static class |
SpotComplexInstanceGenerator.RequestsParameters
A static class for representing the requests parameters of the Spot instance. |
static class |
SpotComplexInstanceGenerator.ResourceConsumptionParameters
This static class represents the parameters for the resource consumption constraints. |
Field Summary | |
---|---|
SpotComplexInstanceGenerator.ConstellationParameters |
constellation
The parameters of the constellation of Spot satellites. |
SpotComplexInstanceGenerator.ResourceConsumptionParameters |
consumption
The resource consumption parameters for generating the Spot instance. |
int |
nA
The number of agents of the problem to be generated. |
int |
nOMax
The maximal number of objects of the problem to be generated. |
SpotComplexInstanceGenerator.RequestsParameters |
requests
The requests parameters for generating the Spot instance. |
long |
seed
The seed of the random instance generator. |
Constructor Summary | |
---|---|
SpotComplexInstanceGenerator(int _nA,
int _nOMax)
Instantiates a SpotComplexInstanceGenerator by specifying
the number of agents, the number of objects. |
|
SpotComplexInstanceGenerator(int _nA,
int _nOMax,
long _seed)
Instantiates a SpotComplexInstanceGenerator by specifying
the number of agents, the number of objects and the seed of the random numbers
generator. |
|
SpotComplexInstanceGenerator(int _nA,
int _nOMax,
SpotComplexInstanceGenerator.RequestsParameters _req,
SpotComplexInstanceGenerator.ResourceConsumptionParameters _conso,
SpotComplexInstanceGenerator.ConstellationParameters _const,
long _seed)
Instantiates a SpotComplexInstanceGenerator by specifying
the number of agents, the maximal number of objects (approximately the actual number
of objects), the requests parameters, and the
seed of the random numbers generator. |
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 int nA
public int nOMax
public SpotComplexInstanceGenerator.RequestsParameters requests
public SpotComplexInstanceGenerator.ResourceConsumptionParameters consumption
public SpotComplexInstanceGenerator.ConstellationParameters constellation
public long seed
Constructor Detail |
---|
public SpotComplexInstanceGenerator(int _nA, int _nOMax, SpotComplexInstanceGenerator.RequestsParameters _req, SpotComplexInstanceGenerator.ResourceConsumptionParameters _conso, SpotComplexInstanceGenerator.ConstellationParameters _const, long _seed)
SpotComplexInstanceGenerator
by specifying
the number of agents, the maximal number of objects (approximately the actual number
of objects), the requests parameters, and the
seed of the random numbers generator.
_nA
- The number of agents._nOMax
- The maximal number of objects._req
- The requests parameters._conso
- The resource consumption parameters._const
- The constellation parameters._seed
- The seed of the random numbers generator.public SpotComplexInstanceGenerator(int _nA, int _nOMax, long _seed)
SpotComplexInstanceGenerator
by specifying
the number of agents, the number of objects and the seed of the random numbers
generator. The defaults parameters are the following ones:
_nA
- The number of agents._nOMax
- The maximal number of objects._seed
- The seed of the random numbers generator.public SpotComplexInstanceGenerator(int _nA, int _nOMax)
SpotComplexInstanceGenerator
by specifying
the number of agents, the number of objects. See the default parameters
in the description of the other constructor.
_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 |