|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectpartage.RandomComplexInstanceGenerator.ExclusiveBundleConstraintsParameters
public static class RandomComplexInstanceGenerator.ExclusiveBundleConstraintsParameters
A nested class for customizing the parameters for the constraints concerning exclusive bundles.
| Field Summary | |
|---|---|
int |
maxBundleSize
The maximum bundle sizes. |
int |
maxNumber
The maximum number of such constraints. |
int |
minBundleSize
The minimum bundle sizes. |
int |
minNumber
The minimum number of such constraints. |
| Constructor Summary | |
|---|---|
RandomComplexInstanceGenerator.ExclusiveBundleConstraintsParameters(int _minNumber,
int _maxNumber,
int _minBundleSize,
int _maxBundleSize)
|
|
| Method Summary | |
|---|---|
void |
addObjectToBlackList(int _object)
This function adds an object to the black list. |
boolean |
isBlackListedObject(int object)
This methods tells if the specified object is black-listed or not. |
int |
numberOfBlackListedObjects()
Returns the number of black-listed objects. |
void |
removeObjectFromBlackList(int _object)
This function removes an object from the black list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int minNumber
public int maxNumber
public int minBundleSize
public int maxBundleSize
| Constructor Detail |
|---|
public RandomComplexInstanceGenerator.ExclusiveBundleConstraintsParameters(int _minNumber,
int _maxNumber,
int _minBundleSize,
int _maxBundleSize)
| Method Detail |
|---|
public void addObjectToBlackList(int _object)
_object - the object to add.public void removeObjectFromBlackList(int _object)
_object - the object to remove.public int numberOfBlackListedObjects()
public boolean isBlackListedObject(int object)
object - the object to check.
true if and only if the object is black-listed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||