public class

HillClimbing.EHCIterator

extends Object
implements Iterator<E>
java.lang.Object
   ↳ es.usc.citius.hipster.algorithm.localsearch.HillClimbing.EHCIterator

Summary

Public Methods
C getBestScore()
Queue<N> getQueue()
boolean hasNext()
N next()
void remove()
void setBestScore(C bestScore)
void setQueue(Queue<N> queue)
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Iterator

Public Methods

public C getBestScore ()

Returns
  • best score found by the algorithm at the current iteration

public Queue<N> getQueue ()

Returns
  • queue of the next nodes to be explored

public boolean hasNext ()

public N next ()

public void remove ()

public void setBestScore (C bestScore)

Parameters
bestScore new best score found

public void setQueue (Queue<N> queue)

Parameters
queue new queue of nodes to be used by the algorithm