Package com.exigen.ie.constrainer.impl

Examples of com.exigen.ie.constrainer.impl.ConstraintExpLessValue


  public GoalFastMinimize(Goal goal, IntExp cost, boolean trace, boolean goal_saves_solution)
  {
    super(cost.constrainer(),"");// "Use "+goal.name()+ " to minimize("+cost.name()+")");
    _goal_find_solution = goal;
    _cost = cost;
    _constraint_limit_cost = new ConstraintExpLessValue(_cost, _cost.max()+1);
    _number_of_solutions = 0;
    _trace = trace;
    _client_tracer = null;
    _goal_saves_solution = goal_saves_solution;
View Full Code Here


   * @param exp The IntExp that must be less then "const"
   * @return (COnstraint)(exp < const)
   */
  final public Constraint more(IntExp exp)
  {
    return new ConstraintExpLessValue(exp,_const);
  }
View Full Code Here

   * @param exp The IntExp that must be less then or equal to "const"
   * @return (Constraint)(exp < const+1)
   */
  final public Constraint moreOrEqual(IntExp exp)
  {
    return new ConstraintExpLessValue(exp,_const+1);
  }
View Full Code Here

TOP

Related Classes of com.exigen.ie.constrainer.impl.ConstraintExpLessValue

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.