Class SingleValeWeightVector
java.lang.Object
org.tweetyproject.preferences.aggregation.SingleValeWeightVector
- 
Constructor Summary
ConstructorsConstructorDescriptionSingleValeWeightVector(int m) constructor setting the value for the least chosen element - 
Method Summary
 
- 
Constructor Details
- 
SingleValeWeightVector
public SingleValeWeightVector(int m) constructor setting the value for the least chosen element- Parameters:
 m- least rank used in ranking function for the preference orders
 
 - 
 - 
Method Details
- 
getWeight
public int getWeight(int n) returns the weight of the element- Specified by:
 getWeightin interfaceWeightVector- Parameters:
 n- the given parameter to compare with- Returns:
 - 1 if element is least ranked, 0 otherwise
 
 
 -