models

package
v0.0.0-...-e348e8c Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BinaryRelationModel

type BinaryRelationModel struct {
	SetOfElements  []string    `json:"set_of_elements"`
	BinaryRelation [][2]string `json:"binary_relation"`
}

type DecodeRequest

type DecodeRequest struct {
	EncodedString string            `json:"encoded_string"`
	Alphabet      map[string]string `json:"alphabet"`
}

type DecodeResponse

type DecodeResponse struct {
	DecodedString string `json:"decoded_string"`
}

type EncodeDecodeRequest

type EncodeDecodeRequest struct {
	String string `json:"string"`
}

type EncodeResponse

type EncodeResponse struct {
	EncodedString     string            `json:"encoded_string"`
	Alphabet          map[string]string `json:"alphabet"`
	AverageCodeLength float64           `json:"average_code_length"`
}

type GenerateTruthTableRequest

type GenerateTruthTableRequest struct {
	Expression string `json:"expression"`
}

type VennDiagramRequest

type VennDiagramRequest struct {
	Expression string `json:"expression"`
}

type VennDiagramResponse

type VennDiagramResponse struct {
	ImageURL string `json:"image_url"`
}

Jump to

Keyboard shortcuts

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