com.github.chen0040.glm.search.LineSearchResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-glm Show documentation
Show all versions of java-glm Show documentation
Generalized linear models implemented in Java
package com.github.chen0040.glm.search;
/**
* Created by xschen on 12/8/15.
*/
public class LineSearchResult {
private double[] x;
private double fx;
private double alpha;
private boolean success;
public LineSearchResult(double[] x, double fx, double alpha, boolean success){
this.x = x;
this.fx = fx;
this.alpha = alpha;
success = true;
}
public double[] x(){
return x;
}
public double fx(){
return fx;
}
public double alpha(){
return alpha;
}
public boolean success(){
return success;
}
}