public class LinearLossTerm extends ADMMObjectiveTerm
groundRule, size, variables
Modifier and Type | Method and Description |
---|---|
float |
evaluate()
weight * coefficients^T * x
|
float |
evaluate(float[] consensusValues)
Evaluate this potential using the given consensus values.
|
void |
minimize(float stepSize,
float[] consensusValues)
Updates x to the solution of
argmin f(x) + stepSize / 2 * \|x - z + y / stepSize \|_2^2 for the objective term f(x) |
getGroundRule, getVariables, size, updateLagrange
public void minimize(float stepSize, float[] consensusValues)
ADMMObjectiveTerm
minimize
in class ADMMObjectiveTerm
public float evaluate()
evaluate
in class ADMMObjectiveTerm
public float evaluate(float[] consensusValues)
ADMMObjectiveTerm
evaluate
in class ADMMObjectiveTerm
Copyright © 2020 University of California, Santa Cruz. All rights reserved.