Class ShortestRoute.Cost

java.lang.Object
org.opentrafficsim.xml.generated.ShortestRoute.Cost
All Implemented Interfaces:
Serializable
Enclosing class:
ShortestRoute

@Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public static class ShortestRoute.Cost 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">
       <choice>
         <element name="Distance" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
         <element name="FreeFlowTime" type="{http://www.opentrafficsim.org/ots}EmptyType"/>
         <element name="DistanceAndFreeFlowTime">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <attribute name="DistanceCost" type="{http://www.opentrafficsim.org/ots}LinearDensityType" />
                 <attribute name="TimeCost" type="{http://www.opentrafficsim.org/ots}FrequencyType" />
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </choice>
     </restriction>
   </complexContent>
 </complexType>
 
See Also:
  • Field Details

    • distance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected EmptyType distance
    • freeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected EmptyType freeFlowTime
    • distanceAndFreeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") protected ShortestRoute.Cost.DistanceAndFreeFlowTime distanceAndFreeFlowTime
  • Constructor Details

    • Cost

      public Cost()
  • Method Details

    • getDistance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public EmptyType getDistance()
      Gets the value of the distance property.
      Returns:
      possible object is EmptyType
    • setDistance

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setDistance(EmptyType value)
      Sets the value of the distance property.
      Parameters:
      value - allowed object is EmptyType
    • getFreeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public EmptyType getFreeFlowTime()
      Gets the value of the freeFlowTime property.
      Returns:
      possible object is EmptyType
    • setFreeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setFreeFlowTime(EmptyType value)
      Sets the value of the freeFlowTime property.
      Parameters:
      value - allowed object is EmptyType
    • getDistanceAndFreeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public ShortestRoute.Cost.DistanceAndFreeFlowTime getDistanceAndFreeFlowTime()
      Gets the value of the distanceAndFreeFlowTime property.
      Returns:
      possible object is ShortestRoute.Cost.DistanceAndFreeFlowTime
    • setDistanceAndFreeFlowTime

      @Generated(value="com.sun.tools.xjc.Driver", comments="JAXB RI v2.3.7", date="2024-08-29T18:50:16+02:00") public void setDistanceAndFreeFlowTime(ShortestRoute.Cost.DistanceAndFreeFlowTime value)
      Sets the value of the distanceAndFreeFlowTime property.
      Parameters:
      value - allowed object is ShortestRoute.Cost.DistanceAndFreeFlowTime