Class TopicConflict
- java.lang.Object
-
- org.optaplanner.examples.examination.domain.solver.TopicConflict
-
- All Implemented Interfaces:
Serializable,Comparable<TopicConflict>
public class TopicConflict extends Object implements Serializable, Comparable<TopicConflict>
Calculated during initialization, not modified during score calculation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TopicConflict(Topic leftTopic, Topic rightTopic, int studentSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(TopicConflict other)booleanequals(Object o)TopicgetLeftTopic()TopicgetRightTopic()intgetStudentSize()inthashCode()voidsetLeftTopic(Topic leftTopic)voidsetRightTopic(Topic rightTopic)voidsetStudentSize(int studentSize)StringtoString()
-
-
-
Method Detail
-
getLeftTopic
public Topic getLeftTopic()
-
setLeftTopic
public void setLeftTopic(Topic leftTopic)
-
getRightTopic
public Topic getRightTopic()
-
setRightTopic
public void setRightTopic(Topic rightTopic)
-
getStudentSize
public int getStudentSize()
-
setStudentSize
public void setStudentSize(int studentSize)
-
compareTo
public int compareTo(TopicConflict other)
- Specified by:
compareToin interfaceComparable<TopicConflict>
-
-