edu.washington.cs.supple.render.utility
Class MaxMarginSolver
java.lang.Object
edu.washington.cs.supple.render.utility.MaxMarginSolver
- All Implemented Interfaces:
- FactoredCostSolver
- public class MaxMarginSolver
- extends java.lang.Object
- implements FactoredCostSolver
- Author:
- kgajos
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
factors
protected java.util.Vector factors
slackPenalty
protected double slackPenalty
colNames
protected java.lang.String[] colNames
maxPriorSampleSize
protected int maxPriorSampleSize
curPriorSampleSize
protected int curPriorSampleSize
MaxMarginSolver
public MaxMarginSolver()
updateCostFunctionWeights
public void updateCostFunctionWeights(FactoredCostFunction cf,
FactoredCostConstraintGenerator constraintGenerator)
- Specified by:
updateCostFunctionWeights in interface FactoredCostSolver
updateCostFunctionWeights
public void updateCostFunctionWeights(FactoredCostFunction cf,
FactoredCostConstraintGenerator constraintGenerator,
FactoredCostFunctionState prior)
- Specified by:
updateCostFunctionWeights in interface FactoredCostSolver
solve
protected double[] solve(java.util.Vector constraints,
FactoredCostFunctionState prior)
buildProblem
protected Problem buildProblem(java.util.Vector constraints,
FactoredCostFunctionState prior)