org.drools.planner.examples.travelingtournament.domain
Class TravelingTournament
java.lang.Object
org.drools.planner.examples.common.domain.AbstractPersistable
org.drools.planner.examples.travelingtournament.domain.TravelingTournament
- All Implemented Interfaces:
- Serializable, Solution<HardAndSoftScore>
public class TravelingTournament
- extends AbstractPersistable
- implements Solution<HardAndSoftScore>
- See Also:
- Serialized Form
TravelingTournament
public TravelingTournament()
getDayList
public List<Day> getDayList()
setDayList
public void setDayList(List<Day> dayList)
getTeamList
public List<Team> getTeamList()
setTeamList
public void setTeamList(List<Team> teamList)
getMatchList
public List<Match> getMatchList()
setMatchList
public void setMatchList(List<Match> matchSets)
getScore
public HardAndSoftScore getScore()
- Specified by:
getScore in interface Solution<HardAndSoftScore>
setScore
public void setScore(HardAndSoftScore score)
- Specified by:
setScore in interface Solution<HardAndSoftScore>
getN
public int getN()
getFacts
public Collection<? extends Object> getFacts()
- Specified by:
getFacts in interface Solution<HardAndSoftScore>
cloneSolution
public TravelingTournament cloneSolution()
- Clone will only deep copy the
matchList.
- 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-2011 JBoss Inc.. All Rights Reserved.