Enum Class ToolTrajectoryEvaluator.MatchMode
java.lang.Object
java.lang.Enum<ToolTrajectoryEvaluator.MatchMode>
dev.dokimos.core.evaluators.agents.ToolTrajectoryEvaluator.MatchMode
- All Implemented Interfaces:
Serializable,Comparable<ToolTrajectoryEvaluator.MatchMode>,Constable
- Enclosing class:
ToolTrajectoryEvaluator
public static enum ToolTrajectoryEvaluator.MatchMode
extends Enum<ToolTrajectoryEvaluator.MatchMode>
The comparison mode for evaluating a trajectory.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOrder-independent overlap; graded.Expected is an ordered subsequence of actual; graded by LCS.Matched divided by the number of actual calls.Matched divided by the number of expected calls.Same length, same order, each position matches.Every actual call has a distinct match in expected.Every expected call has a distinct match in actual. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ToolTrajectoryEvaluator.MatchMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
STRICT
Same length, same order, each position matches. -
IN_ORDER
Expected is an ordered subsequence of actual; graded by LCS. -
ANY_ORDER
Order-independent overlap; graded. -
SUPERSET
Every expected call has a distinct match in actual. -
SUBSET
Every actual call has a distinct match in expected. -
PRECISION
Matched divided by the number of actual calls. -
RECALL
Matched divided by the number of expected calls.
-
-
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
-