|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object partage.PleiadesComplexInstanceGenerator.VolumeConstraintParameters
public static class PleiadesComplexInstanceGenerator.VolumeConstraintParameters
A nested class for customizing all the parameters concerning the volume constraint parameters of the instance.
Field Summary | |
---|---|
int |
consArity
The arity of the constraint (number of consecutive objects concerned by the constraint) - default is 10. |
int |
consMaxVol
The maximum volume allowed by each constraint - default is 4. |
boolean |
consUnequal
true if we want unequal maximum allowed volumes :
in this case, the maximum volume of each constraint is randomly
choosen between 1 and consMaxVol ;
otherwise, each constraint has a maximum volume of
consMaxVol - default is false . |
boolean |
different
true if we don't want the volumes to be all equals :
in this case, the volume of each object is randomly
choosen between 1 and maxVol ;
otherwise, each object has a volume of maxVol
- default is false . |
int |
maxVol
The maximum volume of the objects - default is 1. |
Constructor Summary | |
---|---|
PleiadesComplexInstanceGenerator.VolumeConstraintParameters()
|
|
PleiadesComplexInstanceGenerator.VolumeConstraintParameters(int r)
Creates a new ConstraintParameters instance,
by specifying only the harness of the volume constraints. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int consMaxVol
public int consArity
public int maxVol
public boolean different
true
if we don't want the volumes to be all equals :
in this case, the volume of each object is randomly
choosen between 1
and maxVol
;
otherwise, each object has a volume of maxVol
- default is false
.
public boolean consUnequal
true
if we want unequal maximum allowed volumes :
in this case, the maximum volume of each constraint is randomly
choosen between 1
and consMaxVol
;
otherwise, each constraint has a maximum volume of
consMaxVol
- default is false
.
Constructor Detail |
---|
public PleiadesComplexInstanceGenerator.VolumeConstraintParameters()
public PleiadesComplexInstanceGenerator.VolumeConstraintParameters(int r)
ConstraintParameters
instance,
by specifying only the harness of the volume constraints.
r
- an int
value between 0 and 20,
specifying that r
out of 20 objects can be
simultaneously allocated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |