|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object devplugin.ImportanceValue
public class ImportanceValue
A class with a weighted importance value to calculate the program opacity.
Constructor Summary | |
---|---|
ImportanceValue(byte weight,
short totalImportance)
Creates an instance of this class. |
Method Summary | |
---|---|
short |
getTotalImportance()
Gets the total importance of this importance value |
byte |
getWeight()
Gets the weight for this importance value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImportanceValue(byte weight, short totalImportance)
EXAMPLE: If you give a weight of 4 you mean the totalImportance contains a sum of 4 importance values. NOTE: This will ignore values that are not reachable with the possible single importance of a Program. So for instance, if you give a weight of 4 and a totalImportance of 50 this will be ignored as 40 ist the highest possible amount for a weight of 4.
weight
- Is the count of importance values given.totalImportance
- Is the sum of the count importance valuesMethod Detail |
---|
public byte getWeight()
public short getTotalImportance()
|
TV-Browser 3.3.3 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |