public abstract class ADMMObjectiveTerm extends Object implements Term
Modifier and Type | Field and Description |
---|---|
protected List<LocalVariable> |
variables |
Constructor and Description |
---|
ADMMObjectiveTerm(List<LocalVariable> variables)
Caller releases control of |variables|.
|
Modifier and Type | Method and Description |
---|---|
abstract float |
evaluate() |
List<LocalVariable> |
getVariables() |
abstract 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) |
void |
updateLagrange(float stepSize,
float[] consensusValues) |
protected final List<LocalVariable> variables
public ADMMObjectiveTerm(List<LocalVariable> variables)
public void updateLagrange(float stepSize, float[] consensusValues)
public abstract void minimize(float stepSize, float[] consensusValues)
public abstract float evaluate()
public List<LocalVariable> getVariables()
Copyright © 2018 University of California, Santa Cruz. All rights reserved.