AnyLogic
Expand
Font size
Direct Known Subclasses:
MetalPostConstraint, MetalPreConstraint

public abstract class MetalConstraint
extends Object

Constructor Summary

ConstructorDescription
MetalConstraint() 

Method Summary

Modifier and TypeMethodDescription
doublegetBound() 
abstract doublegetCurrentMetalValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution) 
intgetInternalIndex() 
voidsetBound(double bound) 
voidsetCurrentValue(double currentValue, org.uma.jmetal.solution.compositesolution.CompositeSolution solution) 
voidsetInternalIndex(int index) 
abstract voidsetType(ConstraintTypeEnum type) 

Methods inherited from class java.lang.Object

equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

MetalConstraint

public MetalConstraint()

Method Details

getBound

public double getBound()

setBound

public void setBound(double bound)

setType

public abstract void setType(ConstraintTypeEnum type)

getCurrentMetalValue

public abstract double getCurrentMetalValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution)

setCurrentValue

public void setCurrentValue(double currentValue,
 org.uma.jmetal.solution.compositesolution.CompositeSolution solution)

getInternalIndex

public int getInternalIndex()

setInternalIndex

public void setInternalIndex(int index)