SuanShu, a Java numerical and statistical library

com.numericalmethod.suanshu.optimization.constrained.integer
Class IntegerConstrainedProblem.IntegralConstraint

java.lang.Object
  extended by com.numericalmethod.suanshu.optimization.constrained.integer.IntegerConstrainedProblem.IntegralConstraint
Enclosing class:
IntegerConstrainedProblem

public static class IntegerConstrainedProblem.IntegralConstraint
extends java.lang.Object


Field Summary
 int[] domain
          the domain to search for this particular integral variable
 int index
          the index to an integral variable
 
Constructor Summary
IntegerConstrainedProblem.IntegralConstraint(int index, int[] domain)
           
IntegerConstrainedProblem.IntegralConstraint(int index, int lower, int upper)
           
IntegerConstrainedProblem.IntegralConstraint(int index, int lower, int upper, int inc)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

index

public final int index
the index to an integral variable


domain

public final int[] domain
the domain to search for this particular integral variable

Constructor Detail

IntegerConstrainedProblem.IntegralConstraint

public IntegerConstrainedProblem.IntegralConstraint(int index,
                                                    int[] domain)

IntegerConstrainedProblem.IntegralConstraint

public IntegerConstrainedProblem.IntegralConstraint(int index,
                                                    int lower,
                                                    int upper)

IntegerConstrainedProblem.IntegralConstraint

public IntegerConstrainedProblem.IntegralConstraint(int index,
                                                    int lower,
                                                    int upper,
                                                    int inc)

SuanShu, a Java numerical and statistical library

Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.