public abstract class HyperplaneTerm extends ADMMObjectiveTerm
Modifier and Type | Field and Description |
---|---|
protected List<Float> |
coeffs |
protected float |
constant |
protected float[] |
point |
protected List<Float> |
unitNormal |
variables
Modifier and Type | Method and Description |
---|---|
float |
evaluate()
coeffs^T * x - constant
|
protected void |
project(float stepSize,
float[] consensusValues)
Finds the orthogonal projection onto the hyperplane
argmin stepSize/2 * \|x - z + y / stepSize \|_2^2 such that coeffs^T * x = constant. |
getVariables, minimize, updateLagrange
protected void project(float stepSize, float[] consensusValues)
Stores the result in x.
public float evaluate()
evaluate
in class ADMMObjectiveTerm
Copyright © 2018 University of California, Santa Cruz. All rights reserved.