org.drools.planner.examples.vehiclerouting.domain
Class VrpSchedule
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
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
VrpSchedule
public VrpSchedule()
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.