DISCRETEDISTTYPE.java

  1. //
  2. // This file was generated by the Eclipse Implementation of JAXB, v2.3.6
  3. // See https://eclipse-ee4j.github.io/jaxb-ri
  4. // Any modifications to this file will be lost upon recompilation of the source schema.
  5. // Generated on: 2024.05.19 at 12:55:27 AM CEST
  6. //


  7. package org.opentrafficsim.xml.generated;

  8. import java.io.Serializable;
  9. import java.math.BigInteger;
  10. import javax.annotation.Generated;
  11. import javax.xml.bind.annotation.XmlAccessType;
  12. import javax.xml.bind.annotation.XmlAccessorType;
  13. import javax.xml.bind.annotation.XmlAttribute;
  14. import javax.xml.bind.annotation.XmlElement;
  15. import javax.xml.bind.annotation.XmlSchemaType;
  16. import javax.xml.bind.annotation.XmlSeeAlso;
  17. import javax.xml.bind.annotation.XmlType;
  18. import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
  19. import org.opentrafficsim.xml.bindings.FractionAdapter;


  20. /**
  21.  * <p>Java class for DISCRETEDISTTYPE complex type.
  22.  *
  23.  * <p>The following schema fragment specifies the expected content contained within this class.
  24.  *
  25.  * <pre>
  26.  * &lt;complexType name="DISCRETEDISTTYPE"&gt;
  27.  *   &lt;complexContent&gt;
  28.  *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  29.  *       &lt;choice&gt;
  30.  *         &lt;element name="CONSTANT"&gt;
  31.  *           &lt;complexType&gt;
  32.  *             &lt;complexContent&gt;
  33.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  34.  *                 &lt;attribute name="C" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
  35.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  36.  *               &lt;/restriction&gt;
  37.  *             &lt;/complexContent&gt;
  38.  *           &lt;/complexType&gt;
  39.  *         &lt;/element&gt;
  40.  *         &lt;element name="BERNOULLI"&gt;
  41.  *           &lt;complexType&gt;
  42.  *             &lt;complexContent&gt;
  43.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  44.  *                 &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  45.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  46.  *               &lt;/restriction&gt;
  47.  *             &lt;/complexContent&gt;
  48.  *           &lt;/complexType&gt;
  49.  *         &lt;/element&gt;
  50.  *         &lt;element name="BINOMIAL"&gt;
  51.  *           &lt;complexType&gt;
  52.  *             &lt;complexContent&gt;
  53.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  54.  *                 &lt;attribute name="N" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
  55.  *                 &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  56.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  57.  *               &lt;/restriction&gt;
  58.  *             &lt;/complexContent&gt;
  59.  *           &lt;/complexType&gt;
  60.  *         &lt;/element&gt;
  61.  *         &lt;element name="UNIFORM"&gt;
  62.  *           &lt;complexType&gt;
  63.  *             &lt;complexContent&gt;
  64.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  65.  *                 &lt;attribute name="MIN" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
  66.  *                 &lt;attribute name="MAX" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
  67.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  68.  *               &lt;/restriction&gt;
  69.  *             &lt;/complexContent&gt;
  70.  *           &lt;/complexType&gt;
  71.  *         &lt;/element&gt;
  72.  *         &lt;element name="GEOMETRIC"&gt;
  73.  *           &lt;complexType&gt;
  74.  *             &lt;complexContent&gt;
  75.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  76.  *                 &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  77.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  78.  *               &lt;/restriction&gt;
  79.  *             &lt;/complexContent&gt;
  80.  *           &lt;/complexType&gt;
  81.  *         &lt;/element&gt;
  82.  *         &lt;element name="NEGBINOMIAL"&gt;
  83.  *           &lt;complexType&gt;
  84.  *             &lt;complexContent&gt;
  85.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  86.  *                 &lt;attribute name="N" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
  87.  *                 &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  88.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  89.  *               &lt;/restriction&gt;
  90.  *             &lt;/complexContent&gt;
  91.  *           &lt;/complexType&gt;
  92.  *         &lt;/element&gt;
  93.  *         &lt;element name="POISSON"&gt;
  94.  *           &lt;complexType&gt;
  95.  *             &lt;complexContent&gt;
  96.  *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  97.  *                 &lt;attribute name="LAMBDA" use="required" type="{http://www.opentrafficsim.org/ots}DOUBLEPOSITIVE" /&gt;
  98.  *                 &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  99.  *               &lt;/restriction&gt;
  100.  *             &lt;/complexContent&gt;
  101.  *           &lt;/complexType&gt;
  102.  *         &lt;/element&gt;
  103.  *       &lt;/choice&gt;
  104.  *     &lt;/restriction&gt;
  105.  *   &lt;/complexContent&gt;
  106.  * &lt;/complexType&gt;
  107.  * </pre>
  108.  *
  109.  *
  110.  */
  111. @XmlAccessorType(XmlAccessType.FIELD)
  112. @XmlType(name = "DISCRETEDISTTYPE", propOrder = {
  113.     "constant",
  114.     "bernoulli",
  115.     "binomial",
  116.     "uniform",
  117.     "geometric",
  118.     "negbinomial",
  119.     "poisson"
  120. })
  121. @XmlSeeAlso({
  122.     PARAMETERLONGDIST.class,
  123.     PARAMETERINTEGERDIST.class
  124. })
  125. @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  126. public class DISCRETEDISTTYPE implements Serializable
  127. {

  128.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  129.     private final static long serialVersionUID = 10102L;
  130.     @XmlElement(name = "CONSTANT")
  131.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  132.     protected DISCRETEDISTTYPE.CONSTANT constant;
  133.     @XmlElement(name = "BERNOULLI")
  134.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  135.     protected DISCRETEDISTTYPE.BERNOULLI bernoulli;
  136.     @XmlElement(name = "BINOMIAL")
  137.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  138.     protected DISCRETEDISTTYPE.BINOMIAL binomial;
  139.     @XmlElement(name = "UNIFORM")
  140.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  141.     protected DISCRETEDISTTYPE.UNIFORM uniform;
  142.     @XmlElement(name = "GEOMETRIC")
  143.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  144.     protected DISCRETEDISTTYPE.GEOMETRIC geometric;
  145.     @XmlElement(name = "NEGBINOMIAL")
  146.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  147.     protected DISCRETEDISTTYPE.NEGBINOMIAL negbinomial;
  148.     @XmlElement(name = "POISSON")
  149.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  150.     protected DISCRETEDISTTYPE.POISSON poisson;

  151.     /**
  152.      * Gets the value of the constant property.
  153.      *
  154.      * @return
  155.      *     possible object is
  156.      *     {@link DISCRETEDISTTYPE.CONSTANT }
  157.      *    
  158.      */
  159.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  160.     public DISCRETEDISTTYPE.CONSTANT getCONSTANT() {
  161.         return constant;
  162.     }

  163.     /**
  164.      * Sets the value of the constant property.
  165.      *
  166.      * @param value
  167.      *     allowed object is
  168.      *     {@link DISCRETEDISTTYPE.CONSTANT }
  169.      *    
  170.      */
  171.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  172.     public void setCONSTANT(DISCRETEDISTTYPE.CONSTANT value) {
  173.         this.constant = value;
  174.     }

  175.     /**
  176.      * Gets the value of the bernoulli property.
  177.      *
  178.      * @return
  179.      *     possible object is
  180.      *     {@link DISCRETEDISTTYPE.BERNOULLI }
  181.      *    
  182.      */
  183.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  184.     public DISCRETEDISTTYPE.BERNOULLI getBERNOULLI() {
  185.         return bernoulli;
  186.     }

  187.     /**
  188.      * Sets the value of the bernoulli property.
  189.      *
  190.      * @param value
  191.      *     allowed object is
  192.      *     {@link DISCRETEDISTTYPE.BERNOULLI }
  193.      *    
  194.      */
  195.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  196.     public void setBERNOULLI(DISCRETEDISTTYPE.BERNOULLI value) {
  197.         this.bernoulli = value;
  198.     }

  199.     /**
  200.      * Gets the value of the binomial property.
  201.      *
  202.      * @return
  203.      *     possible object is
  204.      *     {@link DISCRETEDISTTYPE.BINOMIAL }
  205.      *    
  206.      */
  207.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  208.     public DISCRETEDISTTYPE.BINOMIAL getBINOMIAL() {
  209.         return binomial;
  210.     }

  211.     /**
  212.      * Sets the value of the binomial property.
  213.      *
  214.      * @param value
  215.      *     allowed object is
  216.      *     {@link DISCRETEDISTTYPE.BINOMIAL }
  217.      *    
  218.      */
  219.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  220.     public void setBINOMIAL(DISCRETEDISTTYPE.BINOMIAL value) {
  221.         this.binomial = value;
  222.     }

  223.     /**
  224.      * Gets the value of the uniform property.
  225.      *
  226.      * @return
  227.      *     possible object is
  228.      *     {@link DISCRETEDISTTYPE.UNIFORM }
  229.      *    
  230.      */
  231.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  232.     public DISCRETEDISTTYPE.UNIFORM getUNIFORM() {
  233.         return uniform;
  234.     }

  235.     /**
  236.      * Sets the value of the uniform property.
  237.      *
  238.      * @param value
  239.      *     allowed object is
  240.      *     {@link DISCRETEDISTTYPE.UNIFORM }
  241.      *    
  242.      */
  243.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  244.     public void setUNIFORM(DISCRETEDISTTYPE.UNIFORM value) {
  245.         this.uniform = value;
  246.     }

  247.     /**
  248.      * Gets the value of the geometric property.
  249.      *
  250.      * @return
  251.      *     possible object is
  252.      *     {@link DISCRETEDISTTYPE.GEOMETRIC }
  253.      *    
  254.      */
  255.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  256.     public DISCRETEDISTTYPE.GEOMETRIC getGEOMETRIC() {
  257.         return geometric;
  258.     }

  259.     /**
  260.      * Sets the value of the geometric property.
  261.      *
  262.      * @param value
  263.      *     allowed object is
  264.      *     {@link DISCRETEDISTTYPE.GEOMETRIC }
  265.      *    
  266.      */
  267.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  268.     public void setGEOMETRIC(DISCRETEDISTTYPE.GEOMETRIC value) {
  269.         this.geometric = value;
  270.     }

  271.     /**
  272.      * Gets the value of the negbinomial property.
  273.      *
  274.      * @return
  275.      *     possible object is
  276.      *     {@link DISCRETEDISTTYPE.NEGBINOMIAL }
  277.      *    
  278.      */
  279.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  280.     public DISCRETEDISTTYPE.NEGBINOMIAL getNEGBINOMIAL() {
  281.         return negbinomial;
  282.     }

  283.     /**
  284.      * Sets the value of the negbinomial property.
  285.      *
  286.      * @param value
  287.      *     allowed object is
  288.      *     {@link DISCRETEDISTTYPE.NEGBINOMIAL }
  289.      *    
  290.      */
  291.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  292.     public void setNEGBINOMIAL(DISCRETEDISTTYPE.NEGBINOMIAL value) {
  293.         this.negbinomial = value;
  294.     }

  295.     /**
  296.      * Gets the value of the poisson property.
  297.      *
  298.      * @return
  299.      *     possible object is
  300.      *     {@link DISCRETEDISTTYPE.POISSON }
  301.      *    
  302.      */
  303.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  304.     public DISCRETEDISTTYPE.POISSON getPOISSON() {
  305.         return poisson;
  306.     }

  307.     /**
  308.      * Sets the value of the poisson property.
  309.      *
  310.      * @param value
  311.      *     allowed object is
  312.      *     {@link DISCRETEDISTTYPE.POISSON }
  313.      *    
  314.      */
  315.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  316.     public void setPOISSON(DISCRETEDISTTYPE.POISSON value) {
  317.         this.poisson = value;
  318.     }


  319.     /**
  320.      * <p>Java class for anonymous complex type.
  321.      *
  322.      * <p>The following schema fragment specifies the expected content contained within this class.
  323.      *
  324.      * <pre>
  325.      * &lt;complexType&gt;
  326.      *   &lt;complexContent&gt;
  327.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  328.      *       &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  329.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  330.      *     &lt;/restriction&gt;
  331.      *   &lt;/complexContent&gt;
  332.      * &lt;/complexType&gt;
  333.      * </pre>
  334.      *
  335.      *
  336.      */
  337.     @XmlAccessorType(XmlAccessType.FIELD)
  338.     @XmlType(name = "")
  339.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  340.     public static class BERNOULLI
  341.         implements Serializable
  342.     {

  343.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  344.         private final static long serialVersionUID = 10102L;
  345.         @XmlAttribute(name = "P", required = true)
  346.         @XmlJavaTypeAdapter(FractionAdapter.class)
  347.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  348.         protected Double p;
  349.         @XmlAttribute(name = "RANDOMSTREAM")
  350.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  351.         protected String randomstream;

  352.         /**
  353.          * Gets the value of the p property.
  354.          *
  355.          * @return
  356.          *     possible object is
  357.          *     {@link String }
  358.          *    
  359.          */
  360.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  361.         public Double getP() {
  362.             return p;
  363.         }

  364.         /**
  365.          * Sets the value of the p property.
  366.          *
  367.          * @param value
  368.          *     allowed object is
  369.          *     {@link String }
  370.          *    
  371.          */
  372.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  373.         public void setP(Double value) {
  374.             this.p = value;
  375.         }

  376.         /**
  377.          * Gets the value of the randomstream property.
  378.          *
  379.          * @return
  380.          *     possible object is
  381.          *     {@link String }
  382.          *    
  383.          */
  384.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  385.         public String getRANDOMSTREAM() {
  386.             if (randomstream == null) {
  387.                 return "default";
  388.             } else {
  389.                 return randomstream;
  390.             }
  391.         }

  392.         /**
  393.          * Sets the value of the randomstream property.
  394.          *
  395.          * @param value
  396.          *     allowed object is
  397.          *     {@link String }
  398.          *    
  399.          */
  400.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  401.         public void setRANDOMSTREAM(String value) {
  402.             this.randomstream = value;
  403.         }

  404.     }


  405.     /**
  406.      * <p>Java class for anonymous complex type.
  407.      *
  408.      * <p>The following schema fragment specifies the expected content contained within this class.
  409.      *
  410.      * <pre>
  411.      * &lt;complexType&gt;
  412.      *   &lt;complexContent&gt;
  413.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  414.      *       &lt;attribute name="N" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
  415.      *       &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  416.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  417.      *     &lt;/restriction&gt;
  418.      *   &lt;/complexContent&gt;
  419.      * &lt;/complexType&gt;
  420.      * </pre>
  421.      *
  422.      *
  423.      */
  424.     @XmlAccessorType(XmlAccessType.FIELD)
  425.     @XmlType(name = "")
  426.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  427.     public static class BINOMIAL
  428.         implements Serializable
  429.     {

  430.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  431.         private final static long serialVersionUID = 10102L;
  432.         @XmlAttribute(name = "N", required = true)
  433.         @XmlSchemaType(name = "positiveInteger")
  434.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  435.         protected BigInteger n;
  436.         @XmlAttribute(name = "P", required = true)
  437.         @XmlJavaTypeAdapter(FractionAdapter.class)
  438.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  439.         protected Double p;
  440.         @XmlAttribute(name = "RANDOMSTREAM")
  441.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  442.         protected String randomstream;

  443.         /**
  444.          * Gets the value of the n property.
  445.          *
  446.          * @return
  447.          *     possible object is
  448.          *     {@link BigInteger }
  449.          *    
  450.          */
  451.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  452.         public BigInteger getN() {
  453.             return n;
  454.         }

  455.         /**
  456.          * Sets the value of the n property.
  457.          *
  458.          * @param value
  459.          *     allowed object is
  460.          *     {@link BigInteger }
  461.          *    
  462.          */
  463.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  464.         public void setN(BigInteger value) {
  465.             this.n = value;
  466.         }

  467.         /**
  468.          * Gets the value of the p property.
  469.          *
  470.          * @return
  471.          *     possible object is
  472.          *     {@link String }
  473.          *    
  474.          */
  475.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  476.         public Double getP() {
  477.             return p;
  478.         }

  479.         /**
  480.          * Sets the value of the p property.
  481.          *
  482.          * @param value
  483.          *     allowed object is
  484.          *     {@link String }
  485.          *    
  486.          */
  487.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  488.         public void setP(Double value) {
  489.             this.p = value;
  490.         }

  491.         /**
  492.          * Gets the value of the randomstream property.
  493.          *
  494.          * @return
  495.          *     possible object is
  496.          *     {@link String }
  497.          *    
  498.          */
  499.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  500.         public String getRANDOMSTREAM() {
  501.             if (randomstream == null) {
  502.                 return "default";
  503.             } else {
  504.                 return randomstream;
  505.             }
  506.         }

  507.         /**
  508.          * Sets the value of the randomstream property.
  509.          *
  510.          * @param value
  511.          *     allowed object is
  512.          *     {@link String }
  513.          *    
  514.          */
  515.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  516.         public void setRANDOMSTREAM(String value) {
  517.             this.randomstream = value;
  518.         }

  519.     }


  520.     /**
  521.      * <p>Java class for anonymous complex type.
  522.      *
  523.      * <p>The following schema fragment specifies the expected content contained within this class.
  524.      *
  525.      * <pre>
  526.      * &lt;complexType&gt;
  527.      *   &lt;complexContent&gt;
  528.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  529.      *       &lt;attribute name="C" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /&gt;
  530.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  531.      *     &lt;/restriction&gt;
  532.      *   &lt;/complexContent&gt;
  533.      * &lt;/complexType&gt;
  534.      * </pre>
  535.      *
  536.      *
  537.      */
  538.     @XmlAccessorType(XmlAccessType.FIELD)
  539.     @XmlType(name = "")
  540.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  541.     public static class CONSTANT
  542.         implements Serializable
  543.     {

  544.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  545.         private final static long serialVersionUID = 10102L;
  546.         @XmlAttribute(name = "C", required = true)
  547.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  548.         protected long c;
  549.         @XmlAttribute(name = "RANDOMSTREAM")
  550.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  551.         protected String randomstream;

  552.         /**
  553.          * Gets the value of the c property.
  554.          *
  555.          */
  556.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  557.         public long getC() {
  558.             return c;
  559.         }

  560.         /**
  561.          * Sets the value of the c property.
  562.          *
  563.          */
  564.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  565.         public void setC(long value) {
  566.             this.c = value;
  567.         }

  568.         /**
  569.          * Gets the value of the randomstream property.
  570.          *
  571.          * @return
  572.          *     possible object is
  573.          *     {@link String }
  574.          *    
  575.          */
  576.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  577.         public String getRANDOMSTREAM() {
  578.             if (randomstream == null) {
  579.                 return "default";
  580.             } else {
  581.                 return randomstream;
  582.             }
  583.         }

  584.         /**
  585.          * Sets the value of the randomstream property.
  586.          *
  587.          * @param value
  588.          *     allowed object is
  589.          *     {@link String }
  590.          *    
  591.          */
  592.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  593.         public void setRANDOMSTREAM(String value) {
  594.             this.randomstream = value;
  595.         }

  596.     }


  597.     /**
  598.      * <p>Java class for anonymous complex type.
  599.      *
  600.      * <p>The following schema fragment specifies the expected content contained within this class.
  601.      *
  602.      * <pre>
  603.      * &lt;complexType&gt;
  604.      *   &lt;complexContent&gt;
  605.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  606.      *       &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  607.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  608.      *     &lt;/restriction&gt;
  609.      *   &lt;/complexContent&gt;
  610.      * &lt;/complexType&gt;
  611.      * </pre>
  612.      *
  613.      *
  614.      */
  615.     @XmlAccessorType(XmlAccessType.FIELD)
  616.     @XmlType(name = "")
  617.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  618.     public static class GEOMETRIC
  619.         implements Serializable
  620.     {

  621.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  622.         private final static long serialVersionUID = 10102L;
  623.         @XmlAttribute(name = "P", required = true)
  624.         @XmlJavaTypeAdapter(FractionAdapter.class)
  625.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  626.         protected Double p;
  627.         @XmlAttribute(name = "RANDOMSTREAM")
  628.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  629.         protected String randomstream;

  630.         /**
  631.          * Gets the value of the p property.
  632.          *
  633.          * @return
  634.          *     possible object is
  635.          *     {@link String }
  636.          *    
  637.          */
  638.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  639.         public Double getP() {
  640.             return p;
  641.         }

  642.         /**
  643.          * Sets the value of the p property.
  644.          *
  645.          * @param value
  646.          *     allowed object is
  647.          *     {@link String }
  648.          *    
  649.          */
  650.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  651.         public void setP(Double value) {
  652.             this.p = value;
  653.         }

  654.         /**
  655.          * Gets the value of the randomstream property.
  656.          *
  657.          * @return
  658.          *     possible object is
  659.          *     {@link String }
  660.          *    
  661.          */
  662.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  663.         public String getRANDOMSTREAM() {
  664.             if (randomstream == null) {
  665.                 return "default";
  666.             } else {
  667.                 return randomstream;
  668.             }
  669.         }

  670.         /**
  671.          * Sets the value of the randomstream property.
  672.          *
  673.          * @param value
  674.          *     allowed object is
  675.          *     {@link String }
  676.          *    
  677.          */
  678.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  679.         public void setRANDOMSTREAM(String value) {
  680.             this.randomstream = value;
  681.         }

  682.     }


  683.     /**
  684.      * <p>Java class for anonymous complex type.
  685.      *
  686.      * <p>The following schema fragment specifies the expected content contained within this class.
  687.      *
  688.      * <pre>
  689.      * &lt;complexType&gt;
  690.      *   &lt;complexContent&gt;
  691.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  692.      *       &lt;attribute name="N" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /&gt;
  693.      *       &lt;attribute name="P" use="required" type="{http://www.opentrafficsim.org/ots}FRACTIONTYPE" /&gt;
  694.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  695.      *     &lt;/restriction&gt;
  696.      *   &lt;/complexContent&gt;
  697.      * &lt;/complexType&gt;
  698.      * </pre>
  699.      *
  700.      *
  701.      */
  702.     @XmlAccessorType(XmlAccessType.FIELD)
  703.     @XmlType(name = "")
  704.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  705.     public static class NEGBINOMIAL
  706.         implements Serializable
  707.     {

  708.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  709.         private final static long serialVersionUID = 10102L;
  710.         @XmlAttribute(name = "N", required = true)
  711.         @XmlSchemaType(name = "positiveInteger")
  712.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  713.         protected BigInteger n;
  714.         @XmlAttribute(name = "P", required = true)
  715.         @XmlJavaTypeAdapter(FractionAdapter.class)
  716.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  717.         protected Double p;
  718.         @XmlAttribute(name = "RANDOMSTREAM")
  719.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  720.         protected String randomstream;

  721.         /**
  722.          * Gets the value of the n property.
  723.          *
  724.          * @return
  725.          *     possible object is
  726.          *     {@link BigInteger }
  727.          *    
  728.          */
  729.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  730.         public BigInteger getN() {
  731.             return n;
  732.         }

  733.         /**
  734.          * Sets the value of the n property.
  735.          *
  736.          * @param value
  737.          *     allowed object is
  738.          *     {@link BigInteger }
  739.          *    
  740.          */
  741.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  742.         public void setN(BigInteger value) {
  743.             this.n = value;
  744.         }

  745.         /**
  746.          * Gets the value of the p property.
  747.          *
  748.          * @return
  749.          *     possible object is
  750.          *     {@link String }
  751.          *    
  752.          */
  753.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  754.         public Double getP() {
  755.             return p;
  756.         }

  757.         /**
  758.          * Sets the value of the p property.
  759.          *
  760.          * @param value
  761.          *     allowed object is
  762.          *     {@link String }
  763.          *    
  764.          */
  765.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  766.         public void setP(Double value) {
  767.             this.p = value;
  768.         }

  769.         /**
  770.          * Gets the value of the randomstream property.
  771.          *
  772.          * @return
  773.          *     possible object is
  774.          *     {@link String }
  775.          *    
  776.          */
  777.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  778.         public String getRANDOMSTREAM() {
  779.             if (randomstream == null) {
  780.                 return "default";
  781.             } else {
  782.                 return randomstream;
  783.             }
  784.         }

  785.         /**
  786.          * Sets the value of the randomstream property.
  787.          *
  788.          * @param value
  789.          *     allowed object is
  790.          *     {@link String }
  791.          *    
  792.          */
  793.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  794.         public void setRANDOMSTREAM(String value) {
  795.             this.randomstream = value;
  796.         }

  797.     }


  798.     /**
  799.      * <p>Java class for anonymous complex type.
  800.      *
  801.      * <p>The following schema fragment specifies the expected content contained within this class.
  802.      *
  803.      * <pre>
  804.      * &lt;complexType&gt;
  805.      *   &lt;complexContent&gt;
  806.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  807.      *       &lt;attribute name="LAMBDA" use="required" type="{http://www.opentrafficsim.org/ots}DOUBLEPOSITIVE" /&gt;
  808.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  809.      *     &lt;/restriction&gt;
  810.      *   &lt;/complexContent&gt;
  811.      * &lt;/complexType&gt;
  812.      * </pre>
  813.      *
  814.      *
  815.      */
  816.     @XmlAccessorType(XmlAccessType.FIELD)
  817.     @XmlType(name = "")
  818.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  819.     public static class POISSON
  820.         implements Serializable
  821.     {

  822.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  823.         private final static long serialVersionUID = 10102L;
  824.         @XmlAttribute(name = "LAMBDA", required = true)
  825.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  826.         protected double lambda;
  827.         @XmlAttribute(name = "RANDOMSTREAM")
  828.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  829.         protected String randomstream;

  830.         /**
  831.          * Gets the value of the lambda property.
  832.          *
  833.          */
  834.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  835.         public double getLAMBDA() {
  836.             return lambda;
  837.         }

  838.         /**
  839.          * Sets the value of the lambda property.
  840.          *
  841.          */
  842.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  843.         public void setLAMBDA(double value) {
  844.             this.lambda = value;
  845.         }

  846.         /**
  847.          * Gets the value of the randomstream property.
  848.          *
  849.          * @return
  850.          *     possible object is
  851.          *     {@link String }
  852.          *    
  853.          */
  854.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  855.         public String getRANDOMSTREAM() {
  856.             if (randomstream == null) {
  857.                 return "default";
  858.             } else {
  859.                 return randomstream;
  860.             }
  861.         }

  862.         /**
  863.          * Sets the value of the randomstream property.
  864.          *
  865.          * @param value
  866.          *     allowed object is
  867.          *     {@link String }
  868.          *    
  869.          */
  870.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  871.         public void setRANDOMSTREAM(String value) {
  872.             this.randomstream = value;
  873.         }

  874.     }


  875.     /**
  876.      * <p>Java class for anonymous complex type.
  877.      *
  878.      * <p>The following schema fragment specifies the expected content contained within this class.
  879.      *
  880.      * <pre>
  881.      * &lt;complexType&gt;
  882.      *   &lt;complexContent&gt;
  883.      *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType"&gt;
  884.      *       &lt;attribute name="MIN" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
  885.      *       &lt;attribute name="MAX" use="required" type="{http://www.w3.org/2001/XMLSchema}int" /&gt;
  886.      *       &lt;attribute name="RANDOMSTREAM" type="{http://www.w3.org/2001/XMLSchema}string" default="default" /&gt;
  887.      *     &lt;/restriction&gt;
  888.      *   &lt;/complexContent&gt;
  889.      * &lt;/complexType&gt;
  890.      * </pre>
  891.      *
  892.      *
  893.      */
  894.     @XmlAccessorType(XmlAccessType.FIELD)
  895.     @XmlType(name = "")
  896.     @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  897.     public static class UNIFORM
  898.         implements Serializable
  899.     {

  900.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  901.         private final static long serialVersionUID = 10102L;
  902.         @XmlAttribute(name = "MIN", required = true)
  903.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  904.         protected int min;
  905.         @XmlAttribute(name = "MAX", required = true)
  906.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  907.         protected int max;
  908.         @XmlAttribute(name = "RANDOMSTREAM")
  909.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  910.         protected String randomstream;

  911.         /**
  912.          * Gets the value of the min property.
  913.          *
  914.          */
  915.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  916.         public int getMIN() {
  917.             return min;
  918.         }

  919.         /**
  920.          * Sets the value of the min property.
  921.          *
  922.          */
  923.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  924.         public void setMIN(int value) {
  925.             this.min = value;
  926.         }

  927.         /**
  928.          * Gets the value of the max property.
  929.          *
  930.          */
  931.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  932.         public int getMAX() {
  933.             return max;
  934.         }

  935.         /**
  936.          * Sets the value of the max property.
  937.          *
  938.          */
  939.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  940.         public void setMAX(int value) {
  941.             this.max = value;
  942.         }

  943.         /**
  944.          * Gets the value of the randomstream property.
  945.          *
  946.          * @return
  947.          *     possible object is
  948.          *     {@link String }
  949.          *    
  950.          */
  951.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  952.         public String getRANDOMSTREAM() {
  953.             if (randomstream == null) {
  954.                 return "default";
  955.             } else {
  956.                 return randomstream;
  957.             }
  958.         }

  959.         /**
  960.          * Sets the value of the randomstream property.
  961.          *
  962.          * @param value
  963.          *     allowed object is
  964.          *     {@link String }
  965.          *    
  966.          */
  967.         @Generated(value = "com.sun.tools.xjc.Driver", comments = "JAXB RI v2.3.6", date = "2024-05-19T00:55:27+02:00")
  968.         public void setRANDOMSTREAM(String value) {
  969.             this.randomstream = value;
  970.         }

  971.     }

  972. }