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, Comparable<AbstractPersistable>, Solution<HardSoftScore>
public class TravelingTournament
- extends AbstractPersistable
- implements Solution<HardSoftScore>
- 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 HardSoftScore getScore()
- Specified by:
getScore in interface Solution<HardSoftScore>
setScore
public void setScore(HardSoftScore score)
- Specified by:
setScore in interface Solution<HardSoftScore>
getN
public int getN()
getProblemFacts
public Collection<? extends Object> getProblemFacts()
- Specified by:
getProblemFacts in interface Solution<HardSoftScore>
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.