Package solver.constraints.unary

Examples of solver.constraints.unary.PropEqualXC


  }

  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
View Full Code Here

TOP

Related Classes of solver.constraints.unary.PropEqualXC

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.