Class CoachShuttleGatheringSolution
- java.lang.Object
-
- org.optaplanner.examples.common.domain.AbstractPersistable
-
- org.optaplanner.examples.coachshuttlegathering.domain.CoachShuttleGatheringSolution
-
public class CoachShuttleGatheringSolution extends AbstractPersistable
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Coach>coachListprotected BusHubhubprotected List<RoadLocation>locationListprotected Stringnameprotected org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScorescoreprotected List<Shuttle>shuttleListprotected List<BusStop>stopList-
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
-
-
Constructor Summary
Constructors Constructor Description CoachShuttleGatheringSolution()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Bus>getBusList()List<Coach>getCoachList()BusHubgetHub()List<BusHub>getHubRange()List<RoadLocation>getLocationList()StringgetName()org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScoregetScore()List<Shuttle>getShuttleList()List<BusStop>getStopList()voidsetCoachList(List<Coach> coachList)voidsetHub(BusHub hub)voidsetLocationList(List<RoadLocation> locationList)voidsetName(String name)voidsetScore(org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore score)voidsetShuttleList(List<Shuttle> shuttleList)voidsetStopList(List<BusStop> stopList)-
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId, toString
-
-
-
-
Field Detail
-
name
protected String name
-
locationList
protected List<RoadLocation> locationList
-
hub
protected BusHub hub
-
score
@XStreamConverter(org.optaplanner.persistence.xstream.api.score.buildin.hardsoftlong.HardSoftLongScoreXStreamConverter.class) protected org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore score
-
-
Method Detail
-
getName
public String getName()
-
setName
public void setName(String name)
-
getLocationList
public List<RoadLocation> getLocationList()
-
setLocationList
public void setLocationList(List<RoadLocation> locationList)
-
getHub
public BusHub getHub()
-
setHub
public void setHub(BusHub hub)
-
getScore
public org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore getScore()
-
setScore
public void setScore(org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore score)
-
-