public class Neuron extends Object implements Serializable
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_2}Extension" maxOccurs="unbounded" minOccurs="0"/> <element ref="{http://www.dmg.org/PMML-4_2}Con" maxOccurs="unbounded"/> </sequence> <attribute name="id" use="required" type="{http://www.dmg.org/PMML-4_2}NN-NEURON-ID" /> <attribute name="bias" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" /> <attribute name="width" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" /> <attribute name="altitude" type="{http://www.dmg.org/PMML-4_2}REAL-NUMBER" /> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected Double |
altitude |
protected Double |
bias |
protected List<Synapse> |
cons |
protected List<Extension> |
extensions |
protected String |
id |
protected Double |
width |
Constructor and Description |
---|
Neuron() |
Modifier and Type | Method and Description |
---|---|
Double |
getAltitude()
Gets the value of the altitude property.
|
Double |
getBias()
Gets the value of the bias property.
|
List<Synapse> |
getCons()
Gets the value of the cons property.
|
List<Extension> |
getExtensions()
Gets the value of the extensions property.
|
String |
getId()
Gets the value of the id property.
|
Double |
getWidth()
Gets the value of the width property.
|
void |
setAltitude(Double value)
Sets the value of the altitude property.
|
void |
setBias(Double value)
Sets the value of the bias property.
|
void |
setId(String value)
Sets the value of the id property.
|
void |
setWidth(Double value)
Sets the value of the width property.
|
protected String id
protected Double bias
protected Double width
protected Double altitude
public 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
public List<Synapse> getCons()
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 cons property.
For example, to add a new item, do as follows:
getCons().add(newItem);
Objects of the following type(s) are allowed in the list
Synapse
public void setId(String value)
value
- allowed object is
String
public Double getBias()
Double
public void setBias(Double value)
value
- allowed object is
Double
public Double getWidth()
Double
public void setWidth(Double value)
value
- allowed object is
Double
public Double getAltitude()
Double
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.