Package jline.opt.variables
Class JobPopulation
java.lang.Object
jline.opt.variables.DecisionVariable
jline.opt.variables.JobPopulation
Optimize the fixed circulating population of a closed class. Encodes an
integer job count in [minJobs, maxJobs]. Mirrors native-Python
JobPopulation.-
Field Summary
Fields inherited from class jline.opt.variables.DecisionVariable
dimension, name -
Constructor Summary
ConstructorsConstructorDescriptionJobPopulation(ClosedClass jobclass, int minJobs, int maxJobs) JobPopulation(ClosedClass jobclass, int minJobs, int maxJobs, String name) -
Method Summary
Modifier and TypeMethodDescriptionvoidApply a decoded value to a (copied) model.decode(double[] x) Decode the encoded slice (lengthDecisionVariable.getDimension()) to a value.double[][]Bounds per encoded dimension, each {low, high}.Type identifier used by decomposition and the gradient dispatcher.Methods inherited from class jline.opt.variables.DecisionVariable
connectionMatrix, getDimension, getName, indexOfNode, resolveClass, resolveNode, unitBounds
-
Constructor Details
-
JobPopulation
-
JobPopulation
-
-
Method Details
-
getJobClass
-
getBounds
public double[][] getBounds()Description copied from class:DecisionVariableBounds per encoded dimension, each {low, high}. Standard is {0,1}.- Specified by:
getBoundsin classDecisionVariable
-
decode
Description copied from class:DecisionVariableDecode the encoded slice (lengthDecisionVariable.getDimension()) to a value.- Specified by:
decodein classDecisionVariable
-
apply
Description copied from class:DecisionVariableApply a decoded value to a (copied) model.- Specified by:
applyin classDecisionVariable
-
getVariableType
Description copied from class:DecisionVariableType identifier used by decomposition and the gradient dispatcher.- Specified by:
getVariableTypein classDecisionVariable
-