org.vrprep.model.solution
Class Solution

java.lang.Object
  extended by org.vrprep.model.solution.Solution

public class Solution
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="info" minOccurs="0">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="problem" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="reference" type="{http://www.w3.org/2001/XMLSchema}string"/>
                   <element name="contributor">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
                             <element name="email">
                               <simpleType>
                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
                                   <pattern value="[^@]+@[^\.]+\..+"/>
                                 </restriction>
                               </simpleType>
                             </element>
                           </sequence>
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
         <element name="objective_function">
           <complexType>
             <simpleContent>
               <extension base="<http://www.w3.org/2001/XMLSchema>double">
               </extension>
             </simpleContent>
           </complexType>
         </element>
         <element name="routes">
           <complexType>
             <complexContent>
               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                 <sequence>
                   <element name="route" maxOccurs="unbounded">
                     <complexType>
                       <complexContent>
                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                           <sequence>
                             <element name="events" maxOccurs="unbounded">
                               <complexType>
                                 <complexContent>
                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
                                     <sequence>
                                       <element ref="{}service" minOccurs="0"/>
                                       <element name="stop_at_depot" minOccurs="0">
                                         <complexType>
                                           <complexContent>
                                             <extension base="{}stop">
                                             </extension>
                                           </complexContent>
                                         </complexType>
                                       </element>
                                       <element name="break" type="{}stop" minOccurs="0"/>
                                       <element name="recharge" type="{}stop" minOccurs="0"/>
                                       <element name="detach" type="{}stop" minOccurs="0"/>
                                     </sequence>
                                   </restriction>
                                 </complexContent>
                               </complexType>
                             </element>
                           </sequence>
                           <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="vehicle_type" use="required" type="{http://www.w3.org/2001/XMLSchema}integer" />
                           <attribute name="driver_profile" type="{http://www.w3.org/2001/XMLSchema}anySimpleType" />
                         </restriction>
                       </complexContent>
                     </complexType>
                   </element>
                 </sequence>
               </restriction>
             </complexContent>
           </complexType>
         </element>
       </sequence>
       <attribute name="instance" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
       <attribute name="checked" type="{http://www.w3.org/2001/XMLSchema}boolean" default="false" />
     </restriction>
   </complexContent>
 </complexType>
 


Nested Class Summary
static class Solution.Info
          Java class for anonymous complex type.
static class Solution.ObjectiveFunction
          Java class for anonymous complex type.
static class Solution.Routes
          Java class for anonymous complex type.
 
Field Summary
protected  Boolean checked
           
protected  Solution.Info info
           
protected  String instance
           
protected  Solution.ObjectiveFunction objectiveFunction
           
protected  Solution.Routes routes
           
 
Constructor Summary
Solution()
           
 
Method Summary
 Solution.Info getInfo()
          Gets the value of the info property.
 String getInstance()
          Gets the value of the instance property.
 Solution.ObjectiveFunction getObjectiveFunction()
          Gets the value of the objectiveFunction property.
 Solution.Routes getRoutes()
          Gets the value of the routes property.
 boolean isChecked()
          Gets the value of the checked property.
 void setChecked(Boolean value)
          Sets the value of the checked property.
 void setInfo(Solution.Info value)
          Sets the value of the info property.
 void setInstance(String value)
          Sets the value of the instance property.
 void setObjectiveFunction(Solution.ObjectiveFunction value)
          Sets the value of the objectiveFunction property.
 void setRoutes(Solution.Routes value)
          Sets the value of the routes property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

info

protected Solution.Info info

objectiveFunction

protected Solution.ObjectiveFunction objectiveFunction

routes

protected Solution.Routes routes

instance

protected String instance

checked

protected Boolean checked
Constructor Detail

Solution

public Solution()
Method Detail

getInfo

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

Returns:
possible object is Solution.Info

setInfo

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

Parameters:
value - allowed object is Solution.Info

getObjectiveFunction

public Solution.ObjectiveFunction getObjectiveFunction()
Gets the value of the objectiveFunction property.

Returns:
possible object is Solution.ObjectiveFunction

setObjectiveFunction

public void setObjectiveFunction(Solution.ObjectiveFunction value)
Sets the value of the objectiveFunction property.

Parameters:
value - allowed object is Solution.ObjectiveFunction

getRoutes

public Solution.Routes getRoutes()
Gets the value of the routes property.

Returns:
possible object is Solution.Routes

setRoutes

public void setRoutes(Solution.Routes value)
Sets the value of the routes property.

Parameters:
value - allowed object is Solution.Routes

getInstance

public String getInstance()
Gets the value of the instance property.

Returns:
possible object is String

setInstance

public void setInstance(String value)
Sets the value of the instance property.

Parameters:
value - allowed object is String

isChecked

public boolean isChecked()
Gets the value of the checked property.

Returns:
possible object is Boolean

setChecked

public void setChecked(Boolean value)
Sets the value of the checked property.

Parameters:
value - allowed object is Boolean


Copyright © 2014 VRP-REP. All rights reserved.