choco.cp.model.managers.constraints.global
Class KnapsackProblemManager
java.lang.Object
choco.kernel.model.constraints.ConstraintManager<IntegerVariable>
choco.cp.model.managers.IntConstraintManager
choco.cp.model.managers.constraints.global.KnapsackProblemManager
- All Implemented Interfaces:
- ExpressionManager
public final class KnapsackProblemManager
- extends IntConstraintManager
Created by IntelliJ IDEA.
User: julien
Date: Jan 18, 2010
Time: 12:34:19 PM
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
KnapsackProblemManager
public KnapsackProblemManager()
makeConstraint
public SConstraint makeConstraint(Solver solver,
IntegerVariable[] variables,
Object parameters,
List<String> options)
- Description copied from class:
ConstraintManager
- Build a constraint for the given solver and "model variables"
- Specified by:
makeConstraint
in class ConstraintManager<IntegerVariable>
- Parameters:
solver
- solver to build constraint invariables
- array of variablesparameters
- Object defining the paramatersoptions
- set of options
- Returns:
- One SConstraint
Copyright © 2012. All Rights Reserved.