data

package
v0.0.0-...-80c8c53 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMalformedData = errors.New("malformed data")

ErrMalformedData is returned if some data in encoding/decoding are incorrect.

Functions

This section is empty.

Types

type Data

type Data struct {
	MRB []int
	R   [][]int
}

Data is a structure that represents data required to the computation of the solution.

type EncoderDecoder

type EncoderDecoder interface {
	Encode(*Data, io.Writer) error
	Decode(io.Reader) (*Data, error)
}

EncoderDecoder represents object that is able to encode and decode Data structure.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL