AnyLogic
Expand
Font size
All Implemented Interfaces:
IPreConstraint

public class MetalPreConstraint
extends MetalConstraint
implements IPreConstraint

Constructor Summary

ConstructorDescription
MetalPreConstraint() 

Method Summary

Modifier and TypeMethodDescription
doublegetCurrentMetalValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution) 
voidsetType(ConstraintTypeEnum type) 

Methods inherited from class com.anylogic.engine.optimization.metal.MetalConstraint

getBound, getInternalIndex, setBound, setCurrentValue, setInternalIndex

Methods inherited from class java.lang.Object

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

Constructor Details

MetalPreConstraint

public MetalPreConstraint()

Method Details

setType

public void setType(ConstraintTypeEnum type)
Specified by:
setType in class MetalConstraint

getCurrentMetalValue

public double getCurrentMetalValue(org.uma.jmetal.solution.compositesolution.CompositeSolution solution)
Specified by:
getCurrentMetalValue in class MetalConstraint