package gdsc.smlm.fitting; /*----------------------------------------------------------------------------- * GDSC SMLM Software * * Copyright (C) 2017 Alex Herbert * Genome Damage and Stability Centre * University of Sussex, UK * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. *---------------------------------------------------------------------------*/ /** * Define the type of function solver */ public enum FunctionSolverType { //@formatter:off LSE{ public String getName() { return "Least Squares Estimator"; }}, WLSE{ public String getName() { return "Weighted Least Squares Estimator"; }}, MLE{ public String getName() { return "Maximum Likelihood Estimator"; }}; //@formatter:on @Override public String toString() { return getName(); } /** * Gets the name. * * @return the name */ abstract public String getName(); }