public class PreferenceConfiguration
extends java.lang.Object
Constructor and Description |
---|
PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping)
Constructor to create a preference configuration without the use of the homogenization factor.
|
PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping,
double preferenceHomogenizingFactor)
A PreferenceConfiguration consists of the mapping of ProductGroupAttributes to Values (as a ProductGroupAttributeValueMapping data structure), a preferenceHomogenizationFactor indicating how strongly the preference between two agents will be homogenized, and the values used in the productGroupAttributeValueMapping (which will be derived in this constructor from the productGroupAttributeValueMapping)
|
PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping,
double preferenceHomogenizingFactor,
java.util.Set<Value> valuesUsed)
A PreferenceConfiguration consists of the mapping of ProductGroupAttributes to Values (as a ProductGroupAttributeValueMapping data structure), a preferenceHomogenizationFactor indicating how strongly the preference between two agents will be homogenized, and the values used in the productGroupAttributeValueMapping
|
Modifier and Type | Method and Description |
---|---|
double |
getPreferenceHomogenizingFactor() |
java.util.Set<ProductGroupAttributeValueMapping> |
getProductGroupAttributePreferenceMapping() |
java.util.Set<Value> |
getValuesUsed() |
java.lang.String |
toString() |
public PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping, double preferenceHomogenizingFactor, java.util.Set<Value> valuesUsed)
productGroupAttributeValueMapping
- mapping of ProductGroupAttributes to Values (as a ProductGroupAttributeValueMapping data structure), coupling values, ProductGroupAttributes and the strength of their relationshippreferenceHomogenizingFactor
- The preferenceHomogenizationFactor indicates how strongly the preference between two agents will be homogenized upon receiving messages acting on preferencevaluesUsed
- The values used in the productGroupAttributeValueMapping (in this constructor explicitly)public PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping, double preferenceHomogenizingFactor)
productGroupAttributeValueMapping
- mapping of ProductGroupAttributes to Values (as a ProductGroupAttributeValueMapping data structure), coupling values, ProductGroupAttributes and the strength of their relationshippreferenceHomogenizingFactor
- The preferenceHomogenizationFactor indicates how strongly the preference between two agents will be homogenized upon receiving messages acting on preferencepublic PreferenceConfiguration(java.util.Set<ProductGroupAttributeValueMapping> productGroupAttributeValueMapping)
productGroupAttributeValueMapping
- mapping of ProductGroupAttributes to Values (as a ProductGroupAttributeValueMapping data structure), coupling values, ProductGroupAttributes and the strength of their relationshippublic java.util.Set<ProductGroupAttributeValueMapping> getProductGroupAttributePreferenceMapping()
public double getPreferenceHomogenizingFactor()
public java.util.Set<Value> getValuesUsed()
public java.lang.String toString()
toString
in class java.lang.Object