org.vrprep.model.instance
Class Instance

java.lang.Object
  extended by org.vrprep.model.instance.Instance

public class Instance
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">
       <all>
         <element name="info">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="dataset" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="network">
           <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>
         </element>
         <element name="fleet">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="vehicle_profile" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <choice>
                               <element name="departure_from_any_node">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                               <element name="departure_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                             </choice>
                             <choice>
                               <element name="arrival_at_any_node">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                               <element name="arrival_node" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                             </choice>
                             <group ref="{}storage"/>
                             <element name="max_travel_time" type="{}positive_double" minOccurs="0"/>
                             <element name="max_travel_distance" type="{}positive_double" minOccurs="0"/>
                             <element name="speed_factor" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                             <sequence>
                               <element name="fix_cost" type="{}positive_double" minOccurs="0"/>
                               <element name="cost_x_distance" type="{}positive_double" minOccurs="0"/>
                               <element name="cost_x_time" type="{}positive_double" minOccurs="0"/>
                             </sequence>
                             <element name="resource" maxOccurs="unbounded" minOccurs="0">
                               <complexType>
                                 <simpleContent>
                                   <extension base="<http://www.w3.org/2001/XMLSchema>double">
                                     <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                                   </extension>
                                 </simpleContent>
                               </complexType>
                             </element>
                             <element name="trailers" maxOccurs="unbounded" minOccurs="0">
                               <complexType>
                                 <simpleContent>
                                   <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
                                     <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" />
                                   </extension>
                                 </simpleContent>
                               </complexType>
                             </element>
                           </sequence>
                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}int" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                   <element name="trailer_profile" maxOccurs="unbounded" minOccurs="0">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <group ref="{}storage"/>
                             <sequence>
                               <element name="fix_cost" type="{}positive_double" minOccurs="0"/>
                               <element name="cost_x_distance" type="{}positive_double" minOccurs="0"/>
                               <element name="cost_x_time" type="{}positive_double" minOccurs="0"/>
                             </sequence>
                           </sequence>
                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                           <attribute name="number" type="{http://www.w3.org/2001/XMLSchema}int" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="requests">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="request" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
                             <choice>
                               <element name="quantity" type="{http://www.w3.org/2001/XMLSchema}double"/>
                               <element name="td_quantity" type="{}time_dependent_parameter_type"/>
                               <element name="uncertain_quantity" type="{}uncertain_parameter_type"/>
                             </choice>
                             <element ref="{}demand" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="prize" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                             <element name="release" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                             <choice>
                               <element name="service_time" type="{http://www.w3.org/2001/XMLSchema}double"/>
                               <element name="td_service_time" type="{}time_dependent_parameter_type"/>
                               <element name="uncertain_service_time" type="{}uncertain_parameter_type"/>
                             </choice>
                             <element name="predecessors" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element name="request" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                             <element name="successors" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element name="request" type="{http://www.w3.org/2001/XMLSchema}integer" maxOccurs="unbounded"/>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                             <element name="skill" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded" minOccurs="0"/>
                             <element name="resource" maxOccurs="unbounded" minOccurs="0">
                               <complexType>
                                 <simpleContent>
                                   <extension base="<http://www.w3.org/2001/XMLSchema>double">
                                     <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                                   </extension>
                                 </simpleContent>
                               </complexType>
                             </element>
                           </sequence>
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="node" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="link" type="{http://www.w3.org/2001/XMLSchema}integer" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="resources" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="resource" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="renewable" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
                           <attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="drivers" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="driver_profile" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <choice>
                               <element name="compatible_with_all_vehicles">
                                 <complexType>
                                   <complexContent>
                                     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     </restriction>
                                   </complexContent>
                                 </complexType>
                               </element>
                               <element name="compatible_vehicle_type" type="{http://www.w3.org/2001/XMLSchema}int" maxOccurs="unbounded"/>
                             </choice>
                             <element name="skill" maxOccurs="unbounded" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                             <element name="workload_profile" minOccurs="0">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element name="max_work_time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                                       <element name="max_driving_time" type="{http://www.w3.org/2001/XMLSchema}double" minOccurs="0"/>
                                       <element ref="{}tw" maxOccurs="unbounded" minOccurs="0"/>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                           <attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}int" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </all>
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Instance.Drivers
          Java class for anonymous complex type.
static class Instance.Fleet
          Java class for anonymous complex type.
static class Instance.Info
          Java class for anonymous complex type.
static class Instance.Network
          Java class for anonymous complex type.
static class Instance.Requests
          Java class for anonymous complex type.
static class Instance.Resources
          Java class for anonymous complex type.
 
Field Summary
protected  Instance.Drivers drivers
           
protected  Instance.Fleet fleet
           
protected  Instance.Info info
           
protected  Instance.Network network
           
protected  Instance.Requests requests
           
protected  Instance.Resources resources
           
 
Constructor Summary
Instance()
           
 
Method Summary
 Instance.Drivers getDrivers()
          Gets the value of the drivers property.
 Instance.Fleet getFleet()
          Gets the value of the fleet property.
 Instance.Info getInfo()
          Gets the value of the info property.
 Instance.Network getNetwork()
          Gets the value of the network property.
 Instance.Requests getRequests()
          Gets the value of the requests property.
 Instance.Resources getResources()
          Gets the value of the resources property.
 void setDrivers(Instance.Drivers value)
          Sets the value of the drivers property.
 void setFleet(Instance.Fleet value)
          Sets the value of the fleet property.
 void setInfo(Instance.Info value)
          Sets the value of the info property.
 void setNetwork(Instance.Network value)
          Sets the value of the network property.
 void setRequests(Instance.Requests value)
          Sets the value of the requests property.
 void setResources(Instance.Resources value)
          Sets the value of the resources property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected Instance.Info info

network

protected Instance.Network network

fleet

protected Instance.Fleet fleet

requests

protected Instance.Requests requests

resources

protected Instance.Resources resources

drivers

protected Instance.Drivers drivers
Constructor Detail

Instance

public Instance()
Method Detail

getInfo

public Instance.Info getInfo()
Gets the value of the info property.

Returns:
possible object is Instance.Info

setInfo

public void setInfo(Instance.Info value)
Sets the value of the info property.

Parameters:
value - allowed object is Instance.Info

getNetwork

public Instance.Network getNetwork()
Gets the value of the network property.

Returns:
possible object is Instance.Network

setNetwork

public void setNetwork(Instance.Network value)
Sets the value of the network property.

Parameters:
value - allowed object is Instance.Network

getFleet

public Instance.Fleet getFleet()
Gets the value of the fleet property.

Returns:
possible object is Instance.Fleet

setFleet

public void setFleet(Instance.Fleet value)
Sets the value of the fleet property.

Parameters:
value - allowed object is Instance.Fleet

getRequests

public Instance.Requests getRequests()
Gets the value of the requests property.

Returns:
possible object is Instance.Requests

setRequests

public void setRequests(Instance.Requests value)
Sets the value of the requests property.

Parameters:
value - allowed object is Instance.Requests

getResources

public Instance.Resources getResources()
Gets the value of the resources property.

Returns:
possible object is Instance.Resources

setResources

public void setResources(Instance.Resources value)
Sets the value of the resources property.

Parameters:
value - allowed object is Instance.Resources

getDrivers

public Instance.Drivers getDrivers()
Gets the value of the drivers property.

Returns:
possible object is Instance.Drivers

setDrivers

public void setDrivers(Instance.Drivers value)
Sets the value of the drivers property.

Parameters:
value - allowed object is Instance.Drivers


Copyright © 2014 VRP-REP. All rights reserved.