Package org.djutils.math.functions
Enum Class KnotReport
- All Implemented Interfaces:
 Serializable,Comparable<KnotReport>,Constable
Knowledge about knots (discontinuities) of a MathFunction in some interval.
 
Copyright (c) 2024-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
 - Alexander Verbraeck, Peter Knoppers, Wouter Schakel
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> - 
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere are a limited number of knots in the interval.There are infinitely many knots in the interval.It is certain that there are no knots in the interval.The presence, or number of knots in the interval is not known. - 
Method Summary
Modifier and TypeMethodDescriptioncombineWith(KnotReport other) Combine twoKnotReports and return the combined knowledge.booleanisFinite()Report if the number of knots is finite.static KnotReportReturns the enum constant of this class with the specified name.static KnotReport[]values()Returns an array containing the constants of this enum class, in the order they are declared. 
- 
Enum Constant Details
- 
NONE
It is certain that there are no knots in the interval. - 
KNOWN_FINITE
There are a limited number of knots in the interval. - 
KNOWN_INFINITE
There are infinitely many knots in the interval. - 
UNKNOWN
The presence, or number of knots in the interval is not known. 
 - 
 - 
Method Details
- 
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
 - an array containing the constants of this enum class, in the order they are declared
 
 - 
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
 name- the name of the enum constant to be returned.- Returns:
 - the enum constant with the specified name
 - Throws:
 IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
 - 
isFinite
public boolean isFinite()Report if the number of knots is finite.- Returns:
 trueforNONE, orKNOWN_FINITE;falseforKNOWN_INFINITE, orUNKNOWN
 - 
combineWith
Combine twoKnotReports and return the combined knowledge.- Parameters:
 other- the otherKnotReport- Returns:
 - the combined 
KnotReportknowledge 
 
 -