Package org.jacop.examples.fd
Class GeostExample
java.lang.Object
org.jacop.examples.fd.ExampleFD
org.jacop.examples.fd.GeostExample
It specifies an example where squares of the given size must be placed within
a square of a given size.
- Version:
- 4.10
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.jacop.examples.fd.ExampleFD
creditSearch, getSearch, getSearchVariables, getStore, printMatrix, searchAllAtOnce, searchAllOptimal, searchLDS, searchMasterSlave, searchMaxRegretOptimal, searchMiddle, searchMostConstrainedStatic, searchOptimal, searchSmallestDomain, searchSmallestMedian, searchSmallestMiddle, searchSmallestMin, searchWeightedDegree, searchWithMaxRegret, searchWithRestarts, shavingSearch
-
Constructor Details
-
GeostExample
public GeostExample()
-
-
Method Details
-
main
It specifies and runs a very simple Geost example. It is just to present how Geost constraint can be created and imposed to store.- Parameters:
args
- no parameters read.
-
model
public void model()Description copied from class:ExampleFD
It specifies a standard way of modeling the problem. -
search
public boolean search()Description copied from class:ExampleFD
It specifies simple search method based on input order and lexigraphical ordering of values.
-