package
0.32.3
Repository: https://github.com/nextmv-io/sdk.git
Documentation: pkg.go.dev

# README

Model

Package model provides modeling components, such as domains and ranges. A domain is a data structure which allows to efficiently store and access a finite number of integers. It does this by storing ranges of integer values.

See godocs for package docs.

# Functions

Multiple creates a domain containing multiple integer values.
NewDomain creates a domain of integers.
NewDomains creates a sequence of domains.
NewMultiMap creates a new MultiMap.
NewRange create a new integer range.
Repeat a domain n times.
Singleton creates a domain containing one integer value.

# Constants

MaxInt is the maximum value for an integer.
MinInt is the minimum value for an integer.

# Interfaces

A Domain of integers.
Domains of integers.
Identifier needs to be implemented by any type to be used with MultiMap.
An Iterator allows one to iterate over a range or a domain.
MultiMap is a map with an n-dimensional index.
A Range of integers.