Package solver.constraints.binary

Examples of solver.constraints.binary.PropNotEqualX_Y


        int s = VARS.length;
        int k = 0;
        Propagator[] props = new Propagator[(s * s - s) / 2];
        for (int i = 0; i < s - 1; i++) {
          for (int j = i + 1; j < s; j++) {
            props[k++] = new PropNotEqualX_Y(VARS[i], VARS[j]);
          }
        }
        return props;
      }
      case FC: return new Propagator[]{new PropAllDiffInst(VARS)};
View Full Code Here

TOP

Related Classes of solver.constraints.binary.PropNotEqualX_Y

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.