org.drools.planner.examples.examination.domain.solver
Class TopicConflict
java.lang.Object
org.drools.planner.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
TopicConflict
public TopicConflict(Topic leftTopic,
Topic rightTopic,
int studentSize)
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)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
compareTo
public int compareTo(TopicConflict other)
- Specified by:
compareTo
in interface Comparable<TopicConflict>
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.