public class PredictorResponseWeightConstraint
extends java.lang.Object
Constructor and Description |
---|
PredictorResponseWeightConstraint()
Empty PredictorResponseWeightConstraint constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
addDResponseWeightDQuote(double dblPredictor,
double dblDResponseWeightDQuote)
Add a Predictor/Response Weight entry to the Linearized Constraint
|
boolean |
addPredictorResponseWeight(double dblPredictor,
double dblResponseWeight)
Add a Predictor/Response Weight entry to the Linearized Constraint
|
void |
displayString()
Display the Constraints and the corresponding Weights
|
java.util.TreeMap<java.lang.Double,java.lang.Double> |
getDResponseWeightDQuote()
Retrieve the Predictor <-> Response Weight Sensitivity Map
|
double |
getDValueDQuote()
Retrieve the Constraint Value Sensitivity
|
java.util.TreeMap<java.lang.Double,java.lang.Double> |
getPredictorResponseWeight()
Retrieve the Predictor <-> Response Weight Map
|
double |
getValue()
Retrieve the Constraint Value
|
boolean |
updateDValueDQuote(double dblDValueDQuote)
Update the Constraint Value Sensitivity
|
boolean |
updateValue(double dblValue)
Update the Constraint Value
|
public PredictorResponseWeightConstraint()
public boolean addPredictorResponseWeight(double dblPredictor, double dblResponseWeight)
dblPredictor
- The Predictor NodedblResponseWeight
- The Response Weight at the Nodepublic boolean addDResponseWeightDQuote(double dblPredictor, double dblDResponseWeightDQuote)
dblPredictor
- The Predictor NodedblDResponseWeightDQuote
- The Response Weight-to-Quote Sensitivity at the Nodepublic boolean updateValue(double dblValue)
dblValue
- The Constraint Value Update Incrementpublic boolean updateDValueDQuote(double dblDValueDQuote)
dblDValueDQuote
- The Constraint Value Sensitivity Update Incrementpublic double getValue()
public double getDValueDQuote()
public java.util.TreeMap<java.lang.Double,java.lang.Double> getPredictorResponseWeight()
public java.util.TreeMap<java.lang.Double,java.lang.Double> getDResponseWeightDQuote()
public void displayString()