lio.individuals
Class ContChainBounds

java.lang.Object
  extended by lio.individuals.LiOBounds
      extended by lio.individuals.ContChainBounds

public class ContChainBounds
extends LiOBounds

Represents the boundaries for each variable in a problem represented by a chain of real values.


Field Summary
 
Fields inherited from class lio.individuals.LiOBounds
size
 
Constructor Summary
ContChainBounds(int pSize)
          Constructor
ContChainBounds(int pSize, double lower, double upper)
          Constructor
 
Method Summary
 double[] getLowerLimits()
          Getter for property lowerLimits.
 double[] getUpperLimits()
          Getter for property upperLimits.
 void setLowerLimitForVariable(int variable, double limit)
          Sets lower limits for some variable.
 void setLowerLimits(double limit)
          Sets lower limits
 void setLowerLimits(double[] lowerLimits)
          Setter for property lowerLimits.
 void setRanges(double lower, double upper)
          Sets ranges for both lower and upper limits
 void setUpperLimitForVariable(int variable, double limit)
          Sets upper limits for some variable.
 void setUpperLimits(double limit)
          Sets upper limits
 void setUpperLimits(double[] upperLimits)
          Setter for property upperLimits.
 
Methods inherited from class lio.individuals.LiOBounds
getSize, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContChainBounds

public ContChainBounds(int pSize)
Constructor


ContChainBounds

public ContChainBounds(int pSize,
                       double lower,
                       double upper)
Constructor

Method Detail

setRanges

public void setRanges(double lower,
                      double upper)
Sets ranges for both lower and upper limits


setLowerLimits

public void setLowerLimits(double limit)
Sets lower limits


setUpperLimits

public void setUpperLimits(double limit)
Sets upper limits


setLowerLimitForVariable

public void setLowerLimitForVariable(int variable,
                                     double limit)
Sets lower limits for some variable.


setUpperLimitForVariable

public void setUpperLimitForVariable(int variable,
                                     double limit)
Sets upper limits for some variable.


getUpperLimits

public double[] getUpperLimits()
Getter for property upperLimits.

Returns:
Value of property upperLimits.

setUpperLimits

public void setUpperLimits(double[] upperLimits)
Setter for property upperLimits.

Parameters:
upperLimits - New value of property upperLimits.

getLowerLimits

public double[] getLowerLimits()
Getter for property lowerLimits.

Returns:
Value of property lowerLimits.

setLowerLimits

public void setLowerLimits(double[] lowerLimits)
Setter for property lowerLimits.

Parameters:
lowerLimits - New value of property lowerLimits.