Drools Planner distribution 6.0.0.Alpha9

org.drools.planner.examples.examination.domain.solver
Class TopicConflict

java.lang.Object
  extended by 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

Constructor Summary
TopicConflict(Topic leftTopic, Topic rightTopic, int studentSize)
           
 
Method Summary
 int compareTo(TopicConflict other)
           
 boolean equals(Object o)
           
 Topic getLeftTopic()
           
 Topic getRightTopic()
           
 int getStudentSize()
           
 int hashCode()
           
 void setLeftTopic(Topic leftTopic)
           
 void setRightTopic(Topic rightTopic)
           
 void setStudentSize(int studentSize)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TopicConflict

public TopicConflict(Topic leftTopic,
                     Topic rightTopic,
                     int studentSize)
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)

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

Drools Planner distribution 6.0.0.Alpha9

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.