org.vrprep.model.instance
Class Instance.Network.Links.Link

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

public static class Instance.Network.Links.Link
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="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>
 


Field Summary
protected  Boolean directed
           
protected  BigInteger head
           
protected  BigInteger id
           
protected  Double length
           
protected  BigInteger tail
           
protected  List<TimeDependentParameterType> tdTravelCost
           
protected  List<TimeDependentParameterType> tdTravelTime
           
protected  Double travelCost
           
protected  Double travelTime
           
protected  List<Tw> tw
           
protected  BigInteger type
           
protected  UncertainParameterType uncertainTravelCost
           
protected  UncertainParameterType uncertainTravelTime
           
 
Constructor Summary
Instance.Network.Links.Link()
           
 
Method Summary
 BigInteger getHead()
          Gets the value of the head property.
 BigInteger getId()
          Gets the value of the id property.
 Double getLength()
          Gets the value of the length property.
 BigInteger getTail()
          Gets the value of the tail property.
 List<TimeDependentParameterType> getTdTravelCost()
          Gets the value of the tdTravelCost property.
 List<TimeDependentParameterType> getTdTravelTime()
          Gets the value of the tdTravelTime property.
 Double getTravelCost()
          Gets the value of the travelCost property.
 Double getTravelTime()
          Gets the value of the travelTime property.
 List<Tw> getTw()
          Time windows.
 BigInteger getType()
          Gets the value of the type property.
 UncertainParameterType getUncertainTravelCost()
          Gets the value of the uncertainTravelCost property.
 UncertainParameterType getUncertainTravelTime()
          Gets the value of the uncertainTravelTime property.
 boolean isDirected()
          Gets the value of the directed property.
 void setDirected(Boolean value)
          Sets the value of the directed property.
 void setHead(BigInteger value)
          Sets the value of the head property.
 void setId(BigInteger value)
          Sets the value of the id property.
 void setLength(Double value)
          Sets the value of the length property.
 void setTail(BigInteger value)
          Sets the value of the tail property.
 void setTravelCost(Double value)
          Sets the value of the travelCost property.
 void setTravelTime(Double value)
          Sets the value of the travelTime property.
 void setType(BigInteger value)
          Sets the value of the type property.
 void setUncertainTravelCost(UncertainParameterType value)
          Sets the value of the uncertainTravelCost property.
 void setUncertainTravelTime(UncertainParameterType value)
          Sets the value of the uncertainTravelTime property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

protected Double length

travelTime

protected Double travelTime

tdTravelTime

protected List<TimeDependentParameterType> tdTravelTime

uncertainTravelTime

protected UncertainParameterType uncertainTravelTime

travelCost

protected Double travelCost

tdTravelCost

protected List<TimeDependentParameterType> tdTravelCost

uncertainTravelCost

protected UncertainParameterType uncertainTravelCost

tw

protected List<Tw> tw

tail

protected BigInteger tail

head

protected BigInteger head

id

protected BigInteger id

directed

protected Boolean directed

type

protected BigInteger type
Constructor Detail

Instance.Network.Links.Link

public Instance.Network.Links.Link()
Method Detail

getLength

public Double getLength()
Gets the value of the length property.

Returns:
possible object is Double

setLength

public void setLength(Double value)
Sets the value of the length property.

Parameters:
value - allowed object is Double

getTravelTime

public Double getTravelTime()
Gets the value of the travelTime property.

Returns:
possible object is Double

setTravelTime

public void setTravelTime(Double value)
Sets the value of the travelTime property.

Parameters:
value - allowed object is Double

getTdTravelTime

public List<TimeDependentParameterType> getTdTravelTime()
Gets the value of the tdTravelTime property.

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 tdTravelTime property.

For example, to add a new item, do as follows:

    getTdTravelTime().add(newItem);
 

Objects of the following type(s) are allowed in the list TimeDependentParameterType


getUncertainTravelTime

public UncertainParameterType getUncertainTravelTime()
Gets the value of the uncertainTravelTime property.

Returns:
possible object is UncertainParameterType

setUncertainTravelTime

public void setUncertainTravelTime(UncertainParameterType value)
Sets the value of the uncertainTravelTime property.

Parameters:
value - allowed object is UncertainParameterType

getTravelCost

public Double getTravelCost()
Gets the value of the travelCost property.

Returns:
possible object is Double

setTravelCost

public void setTravelCost(Double value)
Sets the value of the travelCost property.

Parameters:
value - allowed object is Double

getTdTravelCost

public List<TimeDependentParameterType> getTdTravelCost()
Gets the value of the tdTravelCost property.

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 tdTravelCost property.

For example, to add a new item, do as follows:

    getTdTravelCost().add(newItem);
 

Objects of the following type(s) are allowed in the list TimeDependentParameterType


getUncertainTravelCost

public UncertainParameterType getUncertainTravelCost()
Gets the value of the uncertainTravelCost property.

Returns:
possible object is UncertainParameterType

setUncertainTravelCost

public void setUncertainTravelCost(UncertainParameterType value)
Sets the value of the uncertainTravelCost property.

Parameters:
value - allowed object is UncertainParameterType

getTw

public List<Tw> getTw()
Time windows. Use these elements to model the link's availability Gets the value of the tw property.

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 tw property.

For example, to add a new item, do as follows:

    getTw().add(newItem);
 

Objects of the following type(s) are allowed in the list Tw


getTail

public BigInteger getTail()
Gets the value of the tail property.

Returns:
possible object is BigInteger

setTail

public void setTail(BigInteger value)
Sets the value of the tail property.

Parameters:
value - allowed object is BigInteger

getHead

public BigInteger getHead()
Gets the value of the head property.

Returns:
possible object is BigInteger

setHead

public void setHead(BigInteger value)
Sets the value of the head property.

Parameters:
value - allowed object is BigInteger

getId

public BigInteger getId()
Gets the value of the id property.

Returns:
possible object is BigInteger

setId

public void setId(BigInteger value)
Sets the value of the id property.

Parameters:
value - allowed object is BigInteger

isDirected

public boolean isDirected()
Gets the value of the directed property.

Returns:
possible object is Boolean

setDirected

public void setDirected(Boolean value)
Sets the value of the directed property.

Parameters:
value - allowed object is Boolean

getType

public BigInteger getType()
Gets the value of the type property.

Returns:
possible object is BigInteger

setType

public void setType(BigInteger value)
Sets the value of the type property.

Parameters:
value - allowed object is BigInteger


Copyright © 2014 VRP-REP. All rights reserved.