public class VehicleRoutingSolution extends AbstractPersistable implements org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
Modifier and Type | Field and Description |
---|---|
protected List<Customer> |
customerList |
protected List<Depot> |
depotList |
protected List<Location> |
locationList |
protected String |
name |
protected org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore |
score |
protected List<Vehicle> |
vehicleList |
id
Constructor and Description |
---|
VehicleRoutingSolution() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
List<Customer> |
getCustomerList() |
List<Depot> |
getDepotList() |
List<Location> |
getLocationList() |
String |
getName() |
Collection<? extends Object> |
getProblemFacts() |
org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore |
getScore() |
List<Vehicle> |
getVehicleList() |
int |
hashCode() |
void |
setCustomerList(List<Customer> customerList) |
void |
setDepotList(List<Depot> depotList) |
void |
setLocationList(List<Location> locationList) |
void |
setName(String name) |
void |
setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score) |
void |
setVehicleList(List<Vehicle> vehicleList) |
compareTo, getId, setId, toString
protected String name
@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
public String getName()
public void setName(String name)
public org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
getScore
in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
public void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
setScore
in interface org.optaplanner.core.impl.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>
public Collection<? extends Object> getProblemFacts()
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.