Class INeighborFactory
- java.lang.Object
-
- org.chocosolver.solver.search.loop.lns.INeighborFactory
-
public class INeighborFactory extends Object
Factory to creates INeighbor objects that configures LNS- Author:
- Charles Prud'homme, Jean-Guillaume Fages
-
-
Constructor Summary
Constructors Constructor Description INeighborFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Neighbor
blackBox(IntVar... vars)
Creates a black-box LNS neighborstatic Neighbor
explanationBased(IntVar... vars)
Deprecated.does nothing, will be removed in next versionstatic Neighbor
propagationGuided(IntVar... vars)
Create a propagation guided neighborhood fixing variables based on constraint propagation Based on "Propagation-Guided LNS", Perronn Shaw and Furnon, CP2004static Neighbor
random(IntVar... vars)
Create a random neighborhood fixing variables randomlystatic Neighbor
reversedPropagationGuided(IntVar... vars)
Create a reverse propagation guided neighborhood fixing variables based on constraint propagationstatic Neighbor
sequencer(Neighbor... neighbors)
Creates a composite Neighbor grouping a set of neighbors
-
-
-
Method Detail
-
blackBox
public static Neighbor blackBox(IntVar... vars)
Creates a black-box LNS neighbor- Parameters:
vars
- the pool of variables to be freezed- Returns:
- a black-box LNS neighbor
-
random
public static Neighbor random(IntVar... vars)
Create a random neighborhood fixing variables randomly- Parameters:
vars
- the pool of variables to be freezed- Returns:
- a random neighborhood fixing variables randomly
-
propagationGuided
public static Neighbor propagationGuided(IntVar... vars)
Create a propagation guided neighborhood fixing variables based on constraint propagation Based on "Propagation-Guided LNS", Perronn Shaw and Furnon, CP2004- Parameters:
vars
- the pool of variables to be freezed- Returns:
- a propagation-guided neighborhood
-
reversedPropagationGuided
public static Neighbor reversedPropagationGuided(IntVar... vars)
Create a reverse propagation guided neighborhood fixing variables based on constraint propagation- Parameters:
vars
- the pool of variables to be freezed- Returns:
- a reverse propagation-guided neighborhood
-
explanationBased
@Deprecated public static Neighbor explanationBased(IntVar... vars)
Deprecated.does nothing, will be removed in next version
-
-