Skip to content

Commit ba18063

Browse files
committed
#13 Add numeric distance type
1 parent c278ee2 commit ba18063

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/utils/numeric_distance_type.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
"""
2+
Enumeration helper for quick and uniform
3+
access of the various distance metrics
4+
"""
5+
import enum
6+
7+
8+
class NumericDistanceType(enum.IntEnum):
9+
"""
10+
Enumeration of the various distance types
11+
"""
12+
13+
# Denotes the first `TimeStep` in a sequence.
14+
L1 = 0
15+
L2 = 1
16+
INVALID = 2

0 commit comments

Comments
 (0)