org.drools.planner.examples.vehiclerouting.domain
Class VrpSchedule

java.lang.Object
  extended by org.drools.planner.examples.common.domain.AbstractPersistable
      extended by org.drools.planner.examples.vehiclerouting.domain.VrpSchedule
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, Solution<HardAndSoftScore>

public class VrpSchedule
extends AbstractPersistable
implements Solution<HardAndSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
VrpSchedule()
           
 
Method Summary
 VrpSchedule cloneSolution()
          Clone will only deep copy the customerList.
 boolean equals(Object o)
           
 List<VrpCustomer> getCustomerList()
           
 List<VrpDepot> getDepotList()
           
 List<VrpLocation> getLocationList()
           
 String getName()
           
 Collection<? extends Object> getProblemFacts()
           
 HardAndSoftScore getScore()
           
 List<VrpVehicle> getVehicleList()
           
 int hashCode()
           
 void setCustomerList(List<VrpCustomer> customerList)
           
 void setDepotList(List<VrpDepot> depotList)
           
 void setLocationList(List<VrpLocation> locationList)
           
 void setName(String name)
           
 void setScore(HardAndSoftScore score)
           
 void setVehicleList(List<VrpVehicle> vehicleList)
           
 
Methods inherited from class org.drools.planner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VrpSchedule

public VrpSchedule()
Method Detail

getName

public String getName()

setName

public void setName(String name)

getLocationList

public List<VrpLocation> getLocationList()

setLocationList

public void setLocationList(List<VrpLocation> locationList)

getDepotList

public List<VrpDepot> getDepotList()

setDepotList

public void setDepotList(List<VrpDepot> depotList)

getVehicleList

public List<VrpVehicle> getVehicleList()

setVehicleList

public void setVehicleList(List<VrpVehicle> vehicleList)

getCustomerList

public List<VrpCustomer> getCustomerList()

setCustomerList

public void setCustomerList(List<VrpCustomer> customerList)

getScore

public HardAndSoftScore getScore()
Specified by:
getScore in interface Solution<HardAndSoftScore>

setScore

public void setScore(HardAndSoftScore score)
Specified by:
setScore in interface Solution<HardAndSoftScore>

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface Solution<HardAndSoftScore>

cloneSolution

public VrpSchedule cloneSolution()
Clone will only deep copy the customerList.

Specified by:
cloneSolution in interface Solution<HardAndSoftScore>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.