Class AbstractMatchMethod
- java.lang.Object
-
- cern.accsoft.steering.jmad.domain.result.match.methods.AbstractMatchMethod
-
- All Implemented Interfaces:
MatchMethod
- Direct Known Subclasses:
MatchMethodJacobian,MatchMethodLmdif,MatchMethodMigrad,MatchMethodSimplex
public abstract class AbstractMatchMethod extends java.lang.Object implements MatchMethod
the most general form of a match method
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cern.accsoft.steering.jmad.domain.result.match.methods.MatchMethod
MatchMethod.AlgorithmType
-
-
Constructor Summary
Constructors Constructor Description AbstractMatchMethod()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCalls()doublegetTolerance()voidsetCalls(int calls)Adjust the maximum number of calls to the penalty functionvoidsetTolerance(double tolerance)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface cern.accsoft.steering.jmad.domain.result.match.methods.MatchMethod
getAlgorithmType
-
-
-
-
Method Detail
-
getTolerance
public double getTolerance()
- Specified by:
getTolerancein interfaceMatchMethod- Returns:
- The desired tolerance for the minimum .
-
setTolerance
public void setTolerance(double tolerance)
- Parameters:
tolerance- the tolerance to set
-
setCalls
public void setCalls(int calls)
Adjust the maximum number of calls to the penalty function- Parameters:
calls- number of calls to process max.
-
getCalls
public int getCalls()
- Specified by:
getCallsin interfaceMatchMethod- Returns:
- the number of calls during the matching
-
-