org.optaplanner.examples.vehiclerouting.domain
Class VehicleRoutingSolution
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.vehiclerouting.domain.VehicleRoutingSolution
- All Implemented Interfaces:
- Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
- Direct Known Subclasses:
- TimeWindowedVehicleRoutingSolution
public class VehicleRoutingSolution
- extends AbstractPersistable
- implements org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
- See Also:
- Serialized Form
name
protected String name
locationList
protected List<Location> locationList
depotList
protected List<Depot> depotList
vehicleList
protected List<Vehicle> vehicleList
customerList
protected List<Customer> customerList
score
@XStreamConverter(value=org.optaplanner.persistence.xstream.XStreamScoreConverter.class,
types=org.optaplanner.core.impl.score.buildin.hardsoft.HardSoftScoreDefinition.class)
protected org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score
VehicleRoutingSolution
public VehicleRoutingSolution()
getName
public String getName()
setName
public void setName(String name)
getLocationList
public List<Location> getLocationList()
setLocationList
public void setLocationList(List<Location> locationList)
getDepotList
public List<Depot> getDepotList()
setDepotList
public void setDepotList(List<Depot> depotList)
getVehicleList
public List<Vehicle> getVehicleList()
setVehicleList
public void setVehicleList(List<Vehicle> vehicleList)
getCustomerList
public List<Customer> getCustomerList()
setCustomerList
public void setCustomerList(List<Customer> customerList)
getScore
public org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
- Specified by:
getScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
setScore
public void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
- Specified by:
setScore in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
getProblemFacts
public Collection<? extends Object> getProblemFacts()
- Specified by:
getProblemFacts in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.