org.vrprep.model.instance
Class Instance.Network

java.lang.Object
  extended by org.vrprep.model.instance.Instance.Network
Enclosing class:
Instance

public static class Instance.Network
extends Object

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 name="nodes">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="node" maxOccurs="unbounded" minOccurs="2">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <choice minOccurs="0">
                               <sequence>
                                 <element name="cx" type="{http://www.w3.org/2001/XMLSchema}double"/>
                                 <element name="cy" type="{http://www.w3.org/2001/XMLSchema}double"/>
                                 <element name="cz" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                               </sequence>
                               <sequence>
                                 <element name="latitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
                                 <element name="longitude" type="{http://www.w3.org/2001/XMLSchema}double"/>
                               </sequence>
                             </choice>
                             <element name="compatible_vehicle" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
                           </sequence>
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="trailer" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <choice>
           <element name="links">
             <complexType>
               <complexContent>
                 <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                   <sequence>
                     <element name="link" maxOccurs="unbounded">
                       <complexType>
                         <complexContent>
                           <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                             <sequence>
                               <element name="length" type="{}positive_double" minOccurs="0"/>
                               <choice minOccurs="0">
                                 <element name="travel_time" type="{}positive_double"/>
                                 <element name="td_travel_time" type="{}time_dependent_parameter_type" maxOccurs="unbounded"/>
                                 <element name="uncertain_travel_time" type="{}uncertain_parameter_type"/>
                               </choice>
                               <choice minOccurs="0">
                                 <element name="travel_cost" type="{}positive_double"/>
                                 <element name="td_travel_cost" type="{}time_dependent_parameter_type" maxOccurs="unbounded"/>
                                 <element name="uncertain_travel_cost" type="{}uncertain_parameter_type"/>
                               </choice>
                               <element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
                             </sequence>
                             <attribute name="tail" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                             <attribute name="head" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                             <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}integer" />
                             <attribute name="directed" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
                             <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           </restriction>
                         </complexContent>
                       </complexType>
                     </element>
                   </sequence>
                   <attribute name="symmetric" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                 </restriction>
               </complexContent>
             </complexType>
           </element>
           <sequence>
             <choice>
               <element name="euclidean">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="manhattan">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="distance_calculator" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
             <choice>
               <element name="ceil">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="floor">
                 <complexType>
                   <complexContent>
                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                     </restriction>
                   </complexContent>
                 </complexType>
               </element>
               <element name="decimals" type="{http://www.w3.org/2001/XMLSchema}int"/>
             </choice>
           </sequence>
         </choice>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Network.Ceil
          Java class for anonymous complex type.
static class Instance.Network.Euclidean
          Java class for anonymous complex type.
static class Instance.Network.Floor
          Java class for anonymous complex type.
static class Instance.Network.Links
          Java class for anonymous complex type.
static class Instance.Network.Manhattan
          Java class for anonymous complex type.
static class Instance.Network.Nodes
          Java class for anonymous complex type.
 
Field Summary
protected  Instance.Network.Ceil ceil
           
protected  Integer decimals
           
protected  String distanceCalculator
           
protected  Instance.Network.Euclidean euclidean
           
protected  Instance.Network.Floor floor
           
protected  Instance.Network.Links links
           
protected  Instance.Network.Manhattan manhattan
           
protected  Instance.Network.Nodes nodes
           
 
Constructor Summary
Instance.Network()
           
 
Method Summary
 Instance.Network.Ceil getCeil()
          Gets the value of the ceil property.
 Integer getDecimals()
          Gets the value of the decimals property.
 String getDistanceCalculator()
          Gets the value of the distanceCalculator property.
 Instance.Network.Euclidean getEuclidean()
          Gets the value of the euclidean property.
 Instance.Network.Floor getFloor()
          Gets the value of the floor property.
 Instance.Network.Links getLinks()
          Gets the value of the links property.
 Instance.Network.Manhattan getManhattan()
          Gets the value of the manhattan property.
 Instance.Network.Nodes getNodes()
          Gets the value of the nodes property.
 void setCeil(Instance.Network.Ceil value)
          Sets the value of the ceil property.
 void setDecimals(Integer value)
          Sets the value of the decimals property.
 void setDistanceCalculator(String value)
          Sets the value of the distanceCalculator property.
 void setEuclidean(Instance.Network.Euclidean value)
          Sets the value of the euclidean property.
 void setFloor(Instance.Network.Floor value)
          Sets the value of the floor property.
 void setLinks(Instance.Network.Links value)
          Sets the value of the links property.
 void setManhattan(Instance.Network.Manhattan value)
          Sets the value of the manhattan property.
 void setNodes(Instance.Network.Nodes value)
          Sets the value of the nodes property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nodes

protected Instance.Network.Nodes nodes

links

protected Instance.Network.Links links

euclidean

protected Instance.Network.Euclidean euclidean

manhattan

protected Instance.Network.Manhattan manhattan

distanceCalculator

protected String distanceCalculator

ceil

protected Instance.Network.Ceil ceil

floor

protected Instance.Network.Floor floor

decimals

protected Integer decimals
Constructor Detail

Instance.Network

public Instance.Network()
Method Detail

getNodes

public Instance.Network.Nodes getNodes()
Gets the value of the nodes property.

Returns:
possible object is Instance.Network.Nodes

setNodes

public void setNodes(Instance.Network.Nodes value)
Sets the value of the nodes property.

Parameters:
value - allowed object is Instance.Network.Nodes

getLinks

public Instance.Network.Links getLinks()
Gets the value of the links property.

Returns:
possible object is Instance.Network.Links

setLinks

public void setLinks(Instance.Network.Links value)
Sets the value of the links property.

Parameters:
value - allowed object is Instance.Network.Links

getEuclidean

public Instance.Network.Euclidean getEuclidean()
Gets the value of the euclidean property.

Returns:
possible object is Instance.Network.Euclidean

setEuclidean

public void setEuclidean(Instance.Network.Euclidean value)
Sets the value of the euclidean property.

Parameters:
value - allowed object is Instance.Network.Euclidean

getManhattan

public Instance.Network.Manhattan getManhattan()
Gets the value of the manhattan property.

Returns:
possible object is Instance.Network.Manhattan

setManhattan

public void setManhattan(Instance.Network.Manhattan value)
Sets the value of the manhattan property.

Parameters:
value - allowed object is Instance.Network.Manhattan

getDistanceCalculator

public String getDistanceCalculator()
Gets the value of the distanceCalculator property.

Returns:
possible object is String

setDistanceCalculator

public void setDistanceCalculator(String value)
Sets the value of the distanceCalculator property.

Parameters:
value - allowed object is String

getCeil

public Instance.Network.Ceil getCeil()
Gets the value of the ceil property.

Returns:
possible object is Instance.Network.Ceil

setCeil

public void setCeil(Instance.Network.Ceil value)
Sets the value of the ceil property.

Parameters:
value - allowed object is Instance.Network.Ceil

getFloor

public Instance.Network.Floor getFloor()
Gets the value of the floor property.

Returns:
possible object is Instance.Network.Floor

setFloor

public void setFloor(Instance.Network.Floor value)
Sets the value of the floor property.

Parameters:
value - allowed object is Instance.Network.Floor

getDecimals

public Integer getDecimals()
Gets the value of the decimals property.

Returns:
possible object is Integer

setDecimals

public void setDecimals(Integer value)
Sets the value of the decimals property.

Parameters:
value - allowed object is Integer


Copyright © 2014 VRP-REP. All rights reserved.