Package solver.constraints.unary

Examples of solver.constraints.unary.PropNotEqualXC


  private static Propagator createProp(IntVar var, Operator op, int cste) {
    switch (op) {
      case EQ: // X = C
        return new PropEqualXC(var, cste);
      case NQ: // X =/= C
        return new PropNotEqualXC(var, cste);
      case GE: // X >= C
        return new PropGreaterOrEqualXC(var, cste);
      case GT: // X > C -->  X >= C + 1
        return new PropGreaterOrEqualXC(var, cste + 1);
      case LE: // X <= C
View Full Code Here

TOP

Related Classes of solver.constraints.unary.PropNotEqualXC

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.