move out of manifest

This commit is contained in:
Dmitriy Ryajov 2023-12-22 17:13:14 -06:00
parent 9c9730d23a
commit 632b378b86
No known key found for this signature in database
GPG Key ID: DA8C680CE7C657A4
1 changed files with 5 additions and 5 deletions

View File

@ -1,5 +1,5 @@
import std/sequtils
import ../utils
import ./utils
# I'm choosing to use an assert here because:
# 1. These are a programmer errors and *should not* happen during application runtime.
@ -10,10 +10,10 @@ type
# Given an interation-count as input, will produce a seq of
# selected indices.
IndexingStrategy* = ref object of RootObj
firstIndex: int # Lowest index that can be returned
lastIndex: int # Highest index that can be returned
numberOfIterations: int # getIndices(iteration) will run from 0 ..< numberOfIterations
step: int
firstIndex*: int # Lowest index that can be returned
lastIndex*: int # Highest index that can be returned
numberOfIterations*: int # getIndices(iteration) will run from 0 ..< numberOfIterations
step*: int
# Simplest approach:
# 0 => 0, 1, 2