Class TopicConflict
java.lang.Object
org.optaplanner.examples.common.domain.AbstractPersistable
org.optaplanner.examples.examination.domain.solver.TopicConflict
- All Implemented Interfaces:
Comparable<TopicConflict>
Calculated during initialization, not modified during score calculation.
-
Field Summary
Fields inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
id -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcompareTo(TopicConflict other) booleanintinthashCode()voidsetLeftTopic(Topic leftTopic) voidsetRightTopic(Topic rightTopic) voidsetStudentSize(int studentSize) toString()Methods inherited from class org.optaplanner.examples.common.domain.AbstractPersistable
getId, setId
-
Constructor Details
-
TopicConflict
public TopicConflict() -
TopicConflict
-
-
Method Details
-
getLeftTopic
-
setLeftTopic
-
getRightTopic
-
setRightTopic
-
getStudentSize
public int getStudentSize() -
setStudentSize
public void setStudentSize(int studentSize) -
equals
-
hashCode
public int hashCode() -
compareTo
- Specified by:
compareToin interfaceComparable<TopicConflict>
-
toString
- Overrides:
toStringin classAbstractPersistable
-