Class Compiler


  • public class Compiler
    extends Object
    • Constructor Detail

      • Compiler

        public Compiler​(ProblemAPI api)
        Builds an object that allow us to generate XCSP3 instances from the specified MCSP3 model. Data are expected to be provided at the command line.
        Parameters:
        api - the object denoting the model of the problem
    • Method Detail

      • buildDocument

        protected Document buildDocument()
      • variables

        protected Element variables()
      • handleCtr

        protected void handleCtr​(Element parent,
                                 ICtr c)
      • constraints

        protected Element constraints()
      • objectives

        protected Element objectives()
        Managing Objectives
      • annotations

        protected Element annotations()
        Managing Annotations
      • buildDocument

        public static Document buildDocument​(String[] args)
      • main

        public static void main​(String[] args)