public class PredictorResponseWeightConstraint
extends java.lang.Object
| Constructor and Description |
|---|
PredictorResponseWeightConstraint()
Empty PredictorResponseWeightConstraint constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
absorb(PredictorResponseWeightConstraint prwcOther)
"Absorb" the other PRWC Instance into the Current One
|
boolean |
addDResponseWeightDManifestMeasure(java.lang.String strManifestMeasure,
double dblPredictor,
double dblDResponseWeightDManifestMeasure)
Add a Predictor/Response Weight entry to the Linearized Constraint
|
boolean |
addMergeLabel(LatentStateLabel lslMerge)
Add a Merging Latent State Label
|
boolean |
addPredictorResponseWeight(double dblPredictor,
double dblResponseWeight)
Add a Predictor/Response Weight entry to the Linearized Constraint
|
void |
displayString(java.lang.String strComment)
Display the Constraints and the corresponding Weights
|
java.util.TreeMap<java.lang.Double,java.lang.Double> |
getDResponseWeightDManifestMeasure(java.lang.String strManifestMeasure)
Retrieve the Predictor To-From Response Weight Sensitivity Map
|
double |
getDValueDManifestMeasure(java.lang.String strManifestMeasure)
Retrieve the Constraint Value Sensitivity
|
java.util.TreeMap<java.lang.Double,java.lang.Double> |
getPredictorResponseWeight()
Retrieve the Predictor To-From Response Weight Map
|
double |
getValue()
Retrieve the Constraint Value
|
java.util.Set<LatentStateLabel> |
mergeLabelSet()
Return the Set of Merged Latent State Labels
|
java.util.Set<java.lang.String> |
sensitivityKeys()
Return the Set of Available Sensitivities (if any)
|
boolean |
updateDValueDManifestMeasure(java.lang.String strManifestMeasure,
double dblDValueDManifestMeasure)
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 addDResponseWeightDManifestMeasure(java.lang.String strManifestMeasure,
double dblPredictor,
double dblDResponseWeightDManifestMeasure)
strManifestMeasure - The Manifest MeasuredblPredictor - The Predictor NodedblDResponseWeightDManifestMeasure - The Response Weight-to-Manifest Measure Sensitivity at the
Nodepublic boolean updateValue(double dblValue)
dblValue - The Constraint Value Update Incrementpublic boolean updateDValueDManifestMeasure(java.lang.String strManifestMeasure,
double dblDValueDManifestMeasure)
strManifestMeasure - The Manifest MeasuredblDValueDManifestMeasure - The Constraint Value Sensitivity Update Incrementpublic double getValue()
public double getDValueDManifestMeasure(java.lang.String strManifestMeasure)
throws java.lang.Exception
strManifestMeasure - The Manifest Measurejava.lang.Exception - Thrown if the Inputs are invalidpublic boolean addMergeLabel(LatentStateLabel lslMerge)
lslMerge - The Merging Latent State Labelpublic java.util.Set<LatentStateLabel> mergeLabelSet()
public java.util.TreeMap<java.lang.Double,java.lang.Double> getPredictorResponseWeight()
public java.util.TreeMap<java.lang.Double,java.lang.Double> getDResponseWeightDManifestMeasure(java.lang.String strManifestMeasure)
strManifestMeasure - The Manifest Measurepublic boolean absorb(PredictorResponseWeightConstraint prwcOther)
prwcOther - The "Other" PRWC Instancepublic java.util.Set<java.lang.String> sensitivityKeys()
public void displayString(java.lang.String strComment)
strComment - The Prefix Comment