public class MultiDomain extends Domain
MultiVariables.| Modifier and Type | Field and Description |
|---|---|
protected Domain[] |
domains |
defaultValueChoiceFunction, logger, myVariable, valueChoiceFunctions| Modifier | Constructor and Description |
|---|---|
protected |
MultiDomain(MultiVariable v,
Domain... domains)
All extensions of
MultiDomain must call this constructor. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
chooseValue(java.lang.String vcf)
This method return
null, reflecting the fact that it does not make
sence to choose one value from a MultiDomain (use chooseValues() instead). |
java.util.HashMap<Variable,java.lang.Object> |
chooseValues()
Chooses values for all internal domains according to their own value choice functions.
|
int |
compareTo(java.lang.Object o) |
java.lang.String |
toString()
Get a string representation of this domain (must be implemented by the
Domain developer. |
chooseValue, getValueChoiceFunctions, getVariable, registerValueChoiceFunction, removeValueChoiceFunctions, setDefaultValueChoiceFunctionprotected Domain[] domains
protected MultiDomain(MultiVariable v, Domain... domains)
MultiDomain must call this constructor.v - The MultiVariable associated to this MultiDomain.domains - The elementary domains composing this MultiDomain.public java.lang.Object chooseValue(java.lang.String vcf)
null, reflecting the fact that it does not make
sence to choose one value from a MultiDomain (use chooseValues() instead).chooseValue in class Domainvcf - A ValueChoiceFunction function identifier.nullpublic java.util.HashMap<Variable,java.lang.Object> chooseValues()
public java.lang.String toString()
DomainDomain developer.public int compareTo(java.lang.Object o)