artisynth.core.inverse
Class L2RegularizationTerm

java.lang.Object
  extended by artisynth.core.inverse.LeastSquaresTermBase
      extended by artisynth.core.inverse.L2RegularizationTerm
All Implemented Interfaces:
LeastSquaresTerm, HasProperties

public class L2RegularizationTerm
extends LeastSquaresTermBase


Field Summary
static double defaultWeight
           
 
Fields inherited from class artisynth.core.inverse.LeastSquaresTermBase
myProps
 
Constructor Summary
L2RegularizationTerm(TrackingController controller)
           
L2RegularizationTerm(TrackingController controller, int size)
           
 
Method Summary
 void dispose()
           
 MatrixNd getReg()
           
 int getTargetSize()
           
 int getTerm(MatrixNd H, VectorNd b, int rowoff, double t0, double t1)
           
 void setWeight(double w)
           
 
Methods inherited from class artisynth.core.inverse.LeastSquaresTermBase
getAllPropertyInfo, getProperty, getWeight
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

defaultWeight

public static final double defaultWeight
See Also:
Constant Field Values
Constructor Detail

L2RegularizationTerm

public L2RegularizationTerm(TrackingController controller)

L2RegularizationTerm

public L2RegularizationTerm(TrackingController controller,
                            int size)
Method Detail

dispose

public void dispose()

getTargetSize

public int getTargetSize()

getTerm

public int getTerm(MatrixNd H,
                   VectorNd b,
                   int rowoff,
                   double t0,
                   double t1)

setWeight

public void setWeight(double w)
Specified by:
setWeight in interface LeastSquaresTerm
Overrides:
setWeight in class LeastSquaresTermBase

getReg

public MatrixNd getReg()