mtkFactor
classmtkFactor
name
:id
:name
.unit
:type
:domain
:mtkDomain
object that describes
the factor's uncertainty.featureList
:initialize
mtkFactor
.getName
getType
getDomain
mtkDomain
.getDistributionName
getDistributionNominalValue
getDistributionNominalValueType
getDiscreteDistributionType
getDiscreteDistributionLevels
getDiscreteDistributionWeights
getDistributionParameters
getFeatures
getMTKFeatures
mtkFeature
.setName
setDomain
setType
setFeatures
aFList
may be a vector of objects
from the class mtkFeature
or a named list from which we can build a list of features.print
show
mtkFactor
.
# Manage a factor x1 with a mtkFactor object.
x1 <- make.mtkFactor(name="x1", distribName="unif",
distribPara=list(min=-pi, max=pi))
getName(x1)
getDomain(x1)
getDistributionName(x1)
getType(x1)
setType(x1, "double")
getType(x1); # 'double'
Run the code above in your browser using DataLab