Description Usage Arguments Value Examples
Different ways to generate masses
1 | RandomMass(nbFocalElement, ThetaSize, nbMass, Type, singleton, Include)
|
nbFocalElement |
The number of focal elements |
ThetaSize |
The length of the discernment frame Θ |
nbMass |
The number of masses to generate |
Type |
Which kind of mass to generate: Type=1 for focal elements can be everywhere Type=2 for focal elements can not be on the emptyset Type=3 for no dogmatic mass : one focal element is on Θ (ignorance) Type=4 for no dogmatic mass : one focal element is on Θ (ignorance) and no focal elements are on the emptyset Type=5 for all the focal elements are the singletons Type=6 for all the focal elements are the singletons and on Θ (ignorance) Type=7 for all the focal elements are the singletons and on Θ (ignorance), but not on all the singletons Type=8 On only one defined singleton, on Θ (ignorance), and others Type=9 On one defined singleton, on other singletons and on Θ (ignorance) Type=10 On one focal element contain a defined singleton, on other focal elements and on Θ (ignorance) Type=11 On one focal element contain a defined singleton, on other focal elements (not emptyset) and on Θ (ignorance) Type=12 For consonant bba with nested focal elements, all of them contain a defined singleton. If parameter singleton is set to 0, the defined singleton can be any one of the element in the discernment framework. Note that the defined singleton may not be one of the focal elements. Type=13 For non-dogmatic consonant bba with nested focal elements, all of them contain a defined singleton. Different from Type 12, the mass given to Θ must be positive (non-dogmatic). If parameter singleton is set to 0, the defined sigleton can be any one of the element in the discernment framework. Note that the defined singleton is one of the focal elements. Type=14 For non-dogmatic consonant bba with nested focal elements, all of them contain a defined singleton. The focal elements must contain the defined sigleton and Θ. If parameter singleton is set to 0, the defined sigleton can be any one of the element in the discernment framework. Note that the difined singleton may not be the focal elements. Type=15 Random SSFs with Include and Θ as focal elements. Generally, parameter Include shoud have the same length as nbMass. If the lenght of parameter Include is 1, all the random masses have the same focal elements. If Include is missing, then the focal element (except Θ) could be randomly set to be any subset of Θ except the empty set and the total ignorance. |
singleton |
The singleton element (with only one element) in the focal sets. It should be given a number from 1 to ThetaSize if Type is from 5 to 11. |
Include |
The natrual id of the focal element (not Θ) of SSFs |
The generated mass matrix. Each column represents a piece of mass
1 2 3 4 5 6 7 | RandomMass(nbFocalElement=3, ThetaSize=3, nbMass=4, Type=1)
RandomMass(nbFocalElement=3, ThetaSize=4, nbMass=4, Type=3)
RandomMass(nbFocalElement=4, ThetaSize=4, nbMass=4, Type=5,singleton=2)
RandomMass(nbFocalElement=4, ThetaSize=4, nbMass=4, Type=10,singleton=2)
RandomMass(nbFocalElement=4, ThetaSize=4, nbMass=4, Type=13,singleton=2)
RandomMass(nbFocalElement=2, ThetaSize=4, nbMass=4, Type=14,singleton=2)
RandomMass(ThetaSize=4, nbMass=4, Type=15, Include=2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.