Class GeostExample


  • public class GeostExample
    extends ExampleFD
    It specifies an example where squares of the given size must be placed within a square of a given size.
    Version:
    4.8
    • Constructor Detail

      • GeostExample

        public GeostExample()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        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.
        Specified by:
        model in class ExampleFD
      • search

        public boolean search()
        Description copied from class: ExampleFD
        It specifies simple search method based on input order and lexigraphical ordering of values.
        Overrides:
        search in class ExampleFD
        Returns:
        true if there is a solution, false otherwise.