public class DiscreteConditionalProbability extends PMMLObject implements HasExtensions
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element ref="{http://www.dmg.org/PMML-4_3}Extension" maxOccurs="unbounded" minOccurs="0"/>
<element ref="{http://www.dmg.org/PMML-4_3}ParentValue" maxOccurs="unbounded"/>
<element ref="{http://www.dmg.org/PMML-4_3}ValueProbability" maxOccurs="unbounded"/>
</sequence>
<attribute name="count" type="{http://www.dmg.org/PMML-4_3}REAL-NUMBER" />
</restriction>
</complexContent>
</complexType>
| Constructor and Description |
|---|
DiscreteConditionalProbability() |
DiscreteConditionalProbability(List<ParentValue> parentValues,
List<ValueProbability> valueProbabilities) |
| Modifier and Type | Method and Description |
|---|---|
VisitorAction |
accept(Visitor visitor) |
DiscreteConditionalProbability |
addExtensions(Extension... extensions) |
DiscreteConditionalProbability |
addParentValues(ParentValue... parentValues) |
DiscreteConditionalProbability |
addValueProbabilities(ValueProbability... valueProbabilities) |
Double |
getCount()
Gets the value of the count property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
List<ParentValue> |
getParentValues()
Gets the value of the parentValues property.
|
List<ValueProbability> |
getValueProbabilities()
Gets the value of the valueProbabilities property.
|
boolean |
hasExtensions() |
boolean |
hasParentValues() |
boolean |
hasValueProbabilities() |
DiscreteConditionalProbability |
setCount(Double count)
Sets the value of the count property.
|
getLocator, setLocator, traverse, traverse, traverse, traverse, traverseMixedpublic DiscreteConditionalProbability()
public DiscreteConditionalProbability(List<ParentValue> parentValues, List<ValueProbability> valueProbabilities)
public Double getCount()
Doublepublic DiscreteConditionalProbability setCount(Double count)
count - allowed object is
Doublepublic List<Extension> getExtensions()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the extensions property.
For example, to add a new item, do as follows:
getExtensions().add(newItem);
Objects of the following type(s) are allowed in the list
Extension
getExtensions in interface HasExtensionspublic List<ParentValue> getParentValues()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the parentValues property.
For example, to add a new item, do as follows:
getParentValues().add(newItem);
Objects of the following type(s) are allowed in the list
ParentValue
public List<ValueProbability> getValueProbabilities()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the valueProbabilities property.
For example, to add a new item, do as follows:
getValueProbabilities().add(newItem);
Objects of the following type(s) are allowed in the list
ValueProbability
public boolean hasExtensions()
hasExtensions in interface HasExtensionspublic DiscreteConditionalProbability addExtensions(Extension... extensions)
public boolean hasParentValues()
public DiscreteConditionalProbability addParentValues(ParentValue... parentValues)
public boolean hasValueProbabilities()
public DiscreteConditionalProbability addValueProbabilities(ValueProbability... valueProbabilities)
public VisitorAction accept(Visitor visitor)
Copyright © 2016 University of Tartu. All rights reserved.