net.sf.cpsolver.coursett.heuristics
Class NeighbourSelectionWithSuggestions.SuggestionNeighbour

java.lang.Object
  extended by net.sf.cpsolver.ifs.model.Neighbour<Lecture,Placement>
      extended by net.sf.cpsolver.coursett.heuristics.NeighbourSelectionWithSuggestions.SuggestionNeighbour
Enclosing class:
NeighbourSelectionWithSuggestions

public class NeighbourSelectionWithSuggestions.SuggestionNeighbour
extends Neighbour<Lecture,Placement>


Constructor Summary
NeighbourSelectionWithSuggestions.SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures)
           
 
Method Summary
 void assign(long iteration)
          Perform assignmnet
 int compareTo(Solution<Lecture,Placement> solution)
           
 String toString()
           
 double value()
          Difference in the evaluation function, if this neighnour is assigned.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NeighbourSelectionWithSuggestions.SuggestionNeighbour

public NeighbourSelectionWithSuggestions.SuggestionNeighbour(Map<Lecture,Placement> resolvedLectures)
Method Detail

value

public double value()
Description copied from class: Neighbour
Difference in the evaluation function, if this neighnour is assigned.

Specified by:
value in class Neighbour<Lecture,Placement>

assign

public void assign(long iteration)
Description copied from class: Neighbour
Perform assignmnet

Specified by:
assign in class Neighbour<Lecture,Placement>

compareTo

public int compareTo(Solution<Lecture,Placement> solution)

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2014 UniTime LLC. All Rights Reserved.