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>
coachList
protected BusHub
hub
protected List<RoadLocation>
locationList
protected String
name
protected org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore
score
protected List<Shuttle>
shuttleList
protected 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()
BusHub
getHub()
List<BusHub>
getHubRange()
List<RoadLocation>
getLocationList()
String
getName()
org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore
getScore()
List<Shuttle>
getShuttleList()
List<BusStop>
getStopList()
void
setCoachList(List<Coach> coachList)
void
setHub(BusHub hub)
void
setLocationList(List<RoadLocation> locationList)
void
setName(String name)
void
setScore(org.optaplanner.core.api.score.buildin.hardsoftlong.HardSoftLongScore score)
void
setShuttleList(List<Shuttle> shuttleList)
void
setStopList(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)
-
-