All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.chen0040.glm.search.LineSearchResult Maven / Gradle / Ivy

There is a newer version: 1.0.6
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy