Class Neighborhood.EmptyNeighborhood<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>
java.lang.Object
es.urjc.etsii.grafo.solution.neighborhood.Neighborhood<M,S,I>
es.urjc.etsii.grafo.solution.neighborhood.RandomizableNeighborhood<M,S,I>
es.urjc.etsii.grafo.solution.neighborhood.Neighborhood.EmptyNeighborhood<M,S,I>
public static class Neighborhood.EmptyNeighborhood<M extends Move<S,I>,S extends Solution<S,I>,I extends Instance>
extends RandomizableNeighborhood<M,S,I>
-
Nested Class Summary
-
Field Summary
Fields inherited from class es.urjc.etsii.grafo.solution.neighborhood.Neighborhood
UNKNOWN_SIZE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionExploreResult
<M, S, I> Build an exhaustive stream that allows iterating the whole neighborhood Using a stream is more efficient that a list as moves are only generated if they are neededgetRandomMove
(S solution) Pick a random move within the neighborhoodtoString()
Methods inherited from class es.urjc.etsii.grafo.solution.neighborhood.Neighborhood
concat, empty, interleave, neighborhoodSize, random
-
Constructor Details
-
EmptyNeighborhood
public EmptyNeighborhood()
-
-
Method Details
-
explore
Description copied from class:Neighborhood
Build an exhaustive stream that allows iterating the whole neighborhood Using a stream is more efficient that a list as moves are only generated if they are needed -
toString
Description copied from class:Neighborhood
-
getRandomMove
Description copied from class:RandomizableNeighborhood
Pick a random move within the neighborhood
-