Class Langford


  • public class Langford
    extends ExampleFD
    It solves Langford problem.
    Version:
    4.8
    • Field Detail

      • n

        public int n
      • m

        public int m
    • Constructor Detail

      • Langford

        public Langford()
    • Method Detail

      • model

        public void model()
        Description copied from class: ExampleFD
        It specifies a standard way of modeling the problem.
        Specified by:
        model in class ExampleFD
      • modelDual

        public void modelDual()
        It uses the dual model.
      • test

        public static void test​(java.lang.String[] args)
        It executes the program to solve the Langford problem. It is possible to specify two parameters. If no parameter is used then default values for n and m are used.
        Parameters:
        args - the first parameter denotes n, the second parameter denotes m.
      • main

        public static void main​(java.lang.String[] args)
        It executes the program to solve the Langford problem. It is possible to specify two parameters. If no parameter is used then default values for n and m are used.
        Parameters:
        args - the first parameter denotes n, the second parameter denotes m.