public class Queens extends ExampleFD
| Modifier and Type | Field and Description |
|---|---|
int |
numberQ
It specifies the size of chessboard to be used in the model.
|
| Constructor and Description |
|---|
Queens() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
It executes different models and search methods to solve Queens problem.
|
void |
model()
It specifies a standard way of modeling the problem.
|
void |
modelBasic()
This model uses only primitive constraints.
|
void |
modelChanneling()
This model uses dual model to solve Queens problems.
|
static void |
test(String[] args)
It executes different models and search methods to solve Queens problem.
|
creditSearch, getSearch, getSearchVariables, getStore, printMatrix, search, searchAllAtOnce, searchAllOptimal, searchLDS, searchMasterSlave, searchMaxRegretOptimal, searchMiddle, searchMostConstrainedStatic, searchOptimal, searchSmallestDomain, searchSmallestMedian, searchSmallestMiddle, searchSmallestMin, searchWeightedDegree, searchWithMaxRegret, searchWithRestarts, shavingSearchpublic int numberQ
public void modelBasic()
public void modelChanneling()
public void model()
ExampleFDpublic static void main(String[] args)
args - first argument specifies the size of the chessboard.public static void test(String[] args)
args - first argument specifies the size of the chessboard.Copyright © 2022. All rights reserved.