OptaPlanner examples 6.2.0.CR1

org.optaplanner.examples.travelingtournament.domain
Class TravelingTournament

java.lang.Object
  extended by org.optaplanner.examples.common.domain.AbstractPersistable
      extended by org.optaplanner.examples.travelingtournament.domain.TravelingTournament
All Implemented Interfaces:
Serializable, Comparable<AbstractPersistable>, org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

public class TravelingTournament
extends AbstractPersistable
implements org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id
 
Constructor Summary
TravelingTournament()
           
 
Method Summary
 boolean equals(Object o)
           
 List<Day> getDayList()
           
 List<Match> getMatchList()
           
 int getN()
           
 Collection<? extends Object> getProblemFacts()
           
 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
           
 List<Team> getTeamList()
           
 int hashCode()
           
 void setDayList(List<Day> dayList)
           
 void setMatchList(List<Match> matchSets)
           
 void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
           
 void setTeamList(List<Team> teamList)
           
 
Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
compareTo, getId, setId, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TravelingTournament

public TravelingTournament()
Method Detail

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 org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore getScore()
Specified by:
getScore in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

setScore

public void setScore(org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore score)
Specified by:
setScore in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

getN

public int getN()

getProblemFacts

public Collection<? extends Object> getProblemFacts()
Specified by:
getProblemFacts in interface org.optaplanner.core.api.domain.solution.Solution<org.optaplanner.core.api.score.buildin.hardsoft.HardSoftScore>

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

OptaPlanner examples 6.2.0.CR1

Copyright © 2006-2014 JBoss by Red Hat. All Rights Reserved.